mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-10-20 19:23:40 +00:00
netfilter: nf_tables: avoid softlockup warnings in nft_chain_validate
This reverts commit314c828416("netfilter: nf_tables: can't schedule in nft_chain_validate"): Since commita60a5abe19("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>
This commit is contained in:
parent
8e1a1bc4f5
commit
7e7a817f2d
1 changed files with 2 additions and 2 deletions
Loading…
Add table
Add a link
Reference in a new issue