]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
netfilter: ipset: mark the rcu locked areas properly
authorJozsef Kadlecsik <kadlec@netfilter.org>
Thu, 2 Jul 2026 13:46:57 +0000 (15:46 +0200)
committerFlorian Westphal <fw@strlen.de>
Wed, 8 Jul 2026 13:33:43 +0000 (15:33 +0200)
commit5d0c22e73656d050daffad10a2ba8765ce8441c8
tree5da16b9fc28bfc0d62198bfcbd500902ea7380a5
parente6107a4c74b54cb33e3bce162a63048ae5a6b198
netfilter: ipset: mark the rcu locked areas properly

When we bump the uref counter, there's no need to keep
the rcu lock because the referred hash table can't
disappear. Also, from the same reason in mtype_gc we
need the rcu lock and not a spinlock.

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