netfilter: ipset: hash:*net*: nomatch flag not excluded on set resize
authorJozsef Kadlecsik <kadlec@blackhole.kfki.hu>
Tue, 9 Apr 2013 08:57:20 +0000 (08:57 +0000)
committerPablo Neira Ayuso <pablo@netfilter.org>
Tue, 9 Apr 2013 19:04:16 +0000 (21:04 +0200)
commit6eb4c7e96e19fd2c38a103472048fc0e0e0a3ec3
treeb1a7a2ef0b8ec7771722beb75187199c04f31ebe
parent02f815cb6d3f57914228be84df9613ee5a01c2e6
netfilter: ipset: hash:*net*: nomatch flag not excluded on set resize

If a resize is triggered the nomatch flag is not excluded at hashing,
which leads to the element missed at lookup in the resized set.

Signed-off-by: Jozsef Kadlecsik <kadlec@blackhole.kfki.hu>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
include/linux/netfilter/ipset/ip_set_ahash.h
net/netfilter/ipset/ip_set_hash_ipportnet.c
net/netfilter/ipset/ip_set_hash_net.c
net/netfilter/ipset/ip_set_hash_netiface.c
net/netfilter/ipset/ip_set_hash_netport.c