]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit1dad360b6c8e79a34965a1b84b3a3be541539ee5
treeb1a7a2ef0b8ec7771722beb75187199c04f31ebe
parentb8f772bd9ff3cafe23edcef779dce091a26aa9bc
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