]> git.baikalelectronics.ru Git - kernel.git/commit
netfilter: nf_tables: add rescheduling points during loop detection walks
authorFlorian Westphal <fw@strlen.de>
Tue, 26 Jul 2022 10:44:35 +0000 (12:44 +0200)
committerFlorian Westphal <fw@strlen.de>
Tue, 26 Jul 2022 19:12:42 +0000 (21:12 +0200)
commit7d7d7f363051e91939d1af8204fd217c0bb26e4d
tree58b996afb7d57d0fe001a2e40518f6395ae8c0db
parent7f94d46ce22e6b98b09bc57db5d3f47a409c9607
netfilter: nf_tables: add rescheduling points during loop detection walks

Add explicit rescheduling points during ruleset walk.

Switching to a faster algorithm is possible but this is a much
smaller change, suitable for nf tree.

Link: https://bugzilla.netfilter.org/show_bug.cgi?id=1460
Signed-off-by: Florian Westphal <fw@strlen.de>
Acked-by: Pablo Neira Ayuso <pablo@netfilter.org>
net/netfilter/nf_tables_api.c