Author: Pablo Neira Ayuso <[email protected]>
Date: Wed Jan 21 01:08:44 2026 +0100
netfilter: nf_tables: add .abort_skip_removal flag for set types
commit f175b46d9134f708358b5404730c6dfa200fbf3c upstream.
The pipapo set backend is the only user of the .abort interface so far.
To speed up pipapo abort path, removals are skipped.
The follow up patch updates the rbtree to use to build an array of
ordered elements, then use binary search. This needs a new .abort
interface but, unlike pipapo, it also need to undo/remove elements.
Add a flag and use it from the pipapo set backend.
Signed-off-by: Pablo Neira Ayuso <[email protected]>
Signed-off-by: Florian Westphal <[email protected]>
Cc: "Kris Karas (Bug Reporting)" <[email protected]>
Cc: Genes Lists <[email protected]>
Cc: Philip Müller <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>