Commit 7315dc1
committed
netfilter: nf_tables: skip set commit for deleted/destroyed sets
NFT_MSG_DELSET deactivates all elements in the set, skip
set->ops->commit() to avoid the unnecessary clone (for the pipapo case)
as well as the sync GC cycle, which could deactivate again expired
elements in such set.
Fixes: 5f68718 ("netfilter: nf_tables: GC transaction API to avoid race with control plane")
Reported-by: Kevin Rich <[email protected]>
Signed-off-by: Pablo Neira Ayuso <[email protected]>1 parent 0ae8e4c commit 7315dc1
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9887 | 9887 | | |
9888 | 9888 | | |
9889 | 9889 | | |
9890 | | - | |
| 9890 | + | |
9891 | 9891 | | |
9892 | 9892 | | |
9893 | 9893 | | |
| |||
0 commit comments