]> git.ipfire.org Git - thirdparty/ipset.git/commit
list:set: update reference counter when last element pushed off
authorJozsef Kadlecsik <kadlec@blackhole.kfki.hu>
Mon, 1 Apr 2013 18:11:01 +0000 (20:11 +0200)
committerJozsef Kadlecsik <kadlec@blackhole.kfki.hu>
Tue, 9 Apr 2013 19:42:16 +0000 (21:42 +0200)
commitd34aeb3cf1869fcf74a1258354b0d597983d9436
treec185752869811509c9b3c7c6f0afa4cc8ea20418
parent0b80b607f858cd44dd4e8fbf88baa7681fc52000
list:set: update reference counter when last element pushed off

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>
kernel/net/netfilter/ipset/ip_set_list_set.c