]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
netfilter: ipset: cleanup the add/del backlog when resize failed
authorJozsef Kadlecsik <kadlec@netfilter.org>
Thu, 2 Jul 2026 13:46:59 +0000 (15:46 +0200)
committerFlorian Westphal <fw@strlen.de>
Wed, 8 Jul 2026 13:33:43 +0000 (15:33 +0200)
commit672321302ed682ccb903004f435bbdb353534a9c
treeb457f5dc1d9ef2ad3ba94d3fe27a001b0e172efc
parentcffcf57bf03cb7f7e83d10f760b5f34e5c51d9b3
netfilter: ipset: cleanup the add/del backlog when resize failed

Sashiko pointed out that the add/del backlog was not cleaned up
when resize failed. Fix it in the corresponding error path. Also,
make sure that the add/del backlog is htable-specific so when
resize creates a new htable, old/new backlog can't be mixed up.

Signed-off-by: Jozsef Kadlecsik <kadlec@netfilter.org>
Signed-off-by: Florian Westphal <fw@strlen.de>
net/netfilter/ipset/ip_set_hash_gen.h