]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
netfilter: nf_tables: avoid softlockup warnings in nft_chain_validate
authorFlorian Westphal <fw@strlen.de>
Thu, 11 Dec 2025 11:55:19 +0000 (12:55 +0100)
committerFlorian Westphal <fw@strlen.de>
Mon, 15 Dec 2025 14:04:04 +0000 (15:04 +0100)
commit7e7a817f2dfd79098a706ee5581ea9518b2de878
tree4d65e13ec4873455c524d163b846af5a812cc717
parent8e1a1bc4f5a42747c08130b8242ebebd1210b32f
netfilter: nf_tables: avoid softlockup warnings in nft_chain_validate

This reverts commit
314c82841602 ("netfilter: nf_tables: can't schedule in nft_chain_validate"):
Since commit a60a5abe19d6 ("netfilter: nf_tables: allow iter callbacks to sleep")
the iterator callback is invoked without rcu read lock held, so this
cond_resched() is now valid.

Signed-off-by: Florian Westphal <fw@strlen.de>
net/netfilter/nf_tables_api.c