Commit ebd032f
netfilter: nf_tables: do not remove elements if set backend implements .abort
pipapo set backend maintains two copies of the datastructure, removing
the elements from the copy that is going to be discarded slows down
the abort path significantly, from several minutes to few seconds after
this patch.
Fixes: 212ed75 ("netfilter: nf_tables: integrate pipapo into commit protocol")
Signed-off-by: Pablo Neira Ayuso <[email protected]>
Signed-off-by: Florian Westphal <[email protected]>1 parent 50e4921 commit ebd032f
1 file changed
+4
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10347 | 10347 | | |
10348 | 10348 | | |
10349 | 10349 | | |
10350 | | - | |
| 10350 | + | |
| 10351 | + | |
| 10352 | + | |
| 10353 | + | |
10351 | 10354 | | |
10352 | 10355 | | |
10353 | 10356 | | |
| |||
0 commit comments