]> git.karo-electronics.de Git - karo-tx-linux.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)
commite9dfdc052d018268926ab769d5b7598226713d5a
tree96d9bfe74c437af2a0b5b3c42ed808ce003feda9
parent95ad1f4a9358dff1dcf84bf5c9cc84caa9215f7f
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