diff options
author | Pablo Neira Ayuso | 2023-12-19 19:44:49 +0100 |
---|---|---|
committer | Greg Kroah-Hartman | 2024-01-05 15:18:40 +0100 |
commit | 0105571f80edb96f81bb4bbdd5233a9130dc345b (patch) | |
tree | 7c7080060080c534cfe2868c733923d7b9c296db /kernel/time | |
parent | 4768430d5a69801c0cd405e56f9de23866c7c92c (diff) |
netfilter: nf_tables: skip set commit for deleted/destroyed sets
commit 7315dc1e122c85ffdfc8defffbb8f8b616c2eb1a upstream.
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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'kernel/time')
0 files changed, 0 insertions, 0 deletions