]> git.proxmox.com Git - mirror_ubuntu-kernels.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)
commit81ea010667417ef3f218dfd99b69769fe66c2b67
tree58b996afb7d57d0fe001a2e40518f6395ae8c0db
parent99a63d36cb3ed5ca3aa6fcb64cffbeaf3b0fb164
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