netfilter: ipset: list:set: fix reference counter update
authorJozsef Kadlecsik <kadlec@blackhole.kfki.hu>
Tue, 9 Apr 2013 08:57:19 +0000 (08:57 +0000)
committerPablo Neira Ayuso <pablo@netfilter.org>
Tue, 9 Apr 2013 19:02:11 +0000 (21:02 +0200)
commit02f815cb6d3f57914228be84df9613ee5a01c2e6
tree3f128f1952955a34a462f243cf582482e4764543
parent3a7b21eaf4fb3c971bdb47a98f570550ddfe4471
netfilter: ipset: list:set: fix reference counter update

The last element can be replaced or pushed off and in both
cases the reference counter must be updated.

Signed-off-by: Jozsef Kadlecsik <kadlec@blackhole.kfki.hu>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
net/netfilter/ipset/ip_set_list_set.c