]> git.baikalelectronics.ru Git - kernel.git/commit
netfilter: ipset: Fix hash:* type expiration
authorJozsef Kadlecsik <kadlec@blackhole.kfki.hu>
Sat, 7 Nov 2015 10:23:34 +0000 (11:23 +0100)
committerJozsef Kadlecsik <kadlec@blackhole.kfki.hu>
Sat, 7 Nov 2015 10:23:34 +0000 (11:23 +0100)
commit50d63bfe7d66b496ee912893e0fb0c67b1314a45
tree96d9bfe74c437af2a0b5b3c42ed808ce003feda9
parentbcab071aec8fcc551d0050b0caa71fe9a634ee06
netfilter: ipset: Fix hash:* type expiration

Incorrect index was used when the data blob was shrinked at expiration,
which could lead to falsely expired entries and memory leak when
the comment extension was used too.

Signed-off-by: Jozsef Kadlecsik <kadlec@blackhole.kfki.hu>
net/netfilter/ipset/ip_set_hash_gen.h