]> granicus.if.org Git - ipset/commit
Fix bug: sometimes valid entries in hash:* types of sets were evicted
authorJozsef Kadlecsik <kadlec@blackhole.kfki.hu>
Thu, 16 Feb 2017 19:47:30 +0000 (20:47 +0100)
committerJozsef Kadlecsik <kadlec@blackhole.kfki.hu>
Thu, 16 Feb 2017 19:47:30 +0000 (20:47 +0100)
commit728fed0f689c76cb5cd77499b022764e93d91932
tree193d1330d82eab3490c205511120fc8128ad5939
parent86efeeb9fde55cb1198e51c24bd67076c6d09784
Fix bug: sometimes valid entries in hash:* types of sets were evicted

Wrong index was used and therefore when shrinking a hash bucket at
deleting an entry, valid entries could be evicted as well.
Thanks to Eric Ewanco for the thorough bugreport.

Fixes netfilter bugzilla #1119
kernel/net/netfilter/ipset/ip_set_hash_gen.h