netfilter: nf_tables: avoid false-positive lockdep splats with sets
authorFlorian Westphal <fw@strlen.de>
Mon, 4 Nov 2024 09:41:14 +0000 (10:41 +0100)
committerPablo Neira Ayuso <pablo@netfilter.org>
Tue, 5 Nov 2024 21:06:14 +0000 (22:06 +0100)
commit8f5f3786dba765099f12da00e6be0c26f69f2fbd
tree53f98b78201fb730df99b0d6d42b50860ba11882
parent9adbb4198bf6cf3634032871118a7052aeaa573f
netfilter: nf_tables: avoid false-positive lockdep splats with sets

Same as previous patch.  All set handling functions here can be called
with transaction mutex held (but not the rcu read lock).

The transaction mutex prevents concurrent add/delete, so this is fine.

Signed-off-by: Florian Westphal <fw@strlen.de>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
net/netfilter/nf_tables_api.c