diff options
| author | Pablo Neira Ayuso <pablo@netfilter.org> | 2026-08-13 15:00:35 +0200 |
|---|---|---|
| committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2026-08-18 00:55:27 +0200 |
| commit | b343ededb3f961dd44b16d148b7ada697fe80c95 (patch) | |
| tree | 3698798c5ba2525917beb88ab7ba8a84f08e6195 /tools/perf/scripts/python/stackcollapse.py | |
| parent | 322371b09058ad10d0282a0e7ec8eaa764e6aaac (diff) | |
netfilter: nf_tables: move set_update_list to nftables per-netns
This list is used to invoke the set .commit and .abort ops for the
rbtree and pipapo to run GC on expired elements and replace the current
datastructure view by the clone. For the rbtree, this also rebuild the
datapath b-search array.
From abort path, remove the set from the update_list if it is already
bound to rule, then the rule itself takes care of releasing the set and
its elements, otherwise, memleak is possible because set ops .abort
only deals with removing the set data structure, not the elements.
This is a preparation patch to call set .commit before processing the
transaction list for the rbtree, no functional changes are intended.
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions
