]> granicus.if.org Git - ipset/commit
Resizing converted to run under read-locking of the set
authorJozsef Kadlecsik <kadlec@blackhole.kfki.hu>
Sat, 30 Oct 2010 16:52:53 +0000 (18:52 +0200)
committerJozsef Kadlecsik <kadlec@blackhole.kfki.hu>
Sat, 30 Oct 2010 16:52:53 +0000 (18:52 +0200)
commit3f8f60c2115992ecf6678fb6ce24d46dbb09e5f8
treeb7bf4a865ac507037e034ddd3df3d8ededb12a9b
parenta9bfa58f6b893d14cd4ffff7ef14084fcdc0ebe9
Resizing converted to run under read-locking of the set

With restricting resizing so that it can be triggered by an add
from userspace only, we can modify it so that it uses read-locking
instead of write-locking. Thus the matching in the set can run parallel
with resizing.
kernel/include/linux/netfilter/ip_set_chash.h
kernel/ip_set_hash_ip.c
kernel/ip_set_hash_ipport.c
kernel/ip_set_hash_ipportip.c
kernel/ip_set_hash_ipportnet.c
kernel/ip_set_hash_net.c
kernel/ip_set_hash_netport.c