netfilter: ipset: Fix hash type expire: release empty hash bucket block
authorJozsef Kadlecsik <kadlec@blackhole.kfki.hu>
Sat, 7 Nov 2015 10:24:51 +0000 (11:24 +0100)
committerJozsef Kadlecsik <kadlec@blackhole.kfki.hu>
Sat, 7 Nov 2015 10:28:49 +0000 (11:28 +0100)
commit0aae24eb409fc429f54ca3809f904f1b91e295e0
treeca66562d0bf42b04097f5f52b83cc9d9867acc2b
parente9dfdc052d018268926ab769d5b7598226713d5a
netfilter: ipset: Fix hash type expire: release empty hash bucket block

When all entries are expired/all slots are empty, release the bucket.

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