diff options
author | Pablo Neira Ayuso <pablo@netfilter.org> | 2023-12-19 21:44:49 +0300 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2023-12-20 15:48:00 +0300 |
commit | 7315dc1e122c85ffdfc8defffbb8f8b616c2eb1a (patch) | |
tree | 64979168ce16f35f7f7bd6e3d24bd9bfc6e9cc9a /scripts/generate_rust_analyzer.py | |
parent | 0ae8e4cca78781401b17721bfb72718fdf7b4912 (diff) | |
download | linux-7315dc1e122c85ffdfc8defffbb8f8b616c2eb1a.tar.xz |
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: 5f68718b34a5 ("netfilter: nf_tables: GC transaction API to avoid race with control plane")
Reported-by: Kevin Rich <kevinrich1337@gmail.com>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions