]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 11 May 2013 20:53:54 +0000 (13:53 -0700)
commit41a460c403b5157c4c7b93190688b897c2d78313
treed6434ba6321529cc0947b5f862f073f59d2f3d25
parente0b95c5fdefb0e9eca0c1754ef4e2fa84323ff96
netfilter: ipset: list:set: fix reference counter update

commit 02f815cb6d3f57914228be84df9613ee5a01c2e6 upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
net/netfilter/ipset/ip_set_list_set.c