Commit 7e7a817
Florian Westphal
netfilter: nf_tables: avoid softlockup warnings in nft_chain_validate
This reverts commit
314c828 ("netfilter: nf_tables: can't schedule in nft_chain_validate"):
Since commit a60a5ab ("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>1 parent 8e1a1bc commit 7e7a817
1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4171 | 4171 | | |
4172 | 4172 | | |
4173 | 4173 | | |
| 4174 | + | |
| 4175 | + | |
4174 | 4176 | | |
4175 | 4177 | | |
4176 | 4178 | | |
| |||
4195 | 4197 | | |
4196 | 4198 | | |
4197 | 4199 | | |
4198 | | - | |
4199 | | - | |
4200 | 4200 | | |
4201 | 4201 | | |
4202 | 4202 | | |
| |||
0 commit comments