aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tools/perf/scripts/python/call-graph-from-postgresql.py
diff options
context:
space:
mode:
authorFlorian Westphal <fw@strlen.de>2024-11-13 16:35:50 +0100
committerPablo Neira Ayuso <pablo@netfilter.org>2024-11-14 12:40:37 +0100
commita8ee6b900c147d3bedced6c52ba6cb603226aaa3 (patch)
tree0e70acd4824e6208b0c1221685cbf4d38d471730 /tools/perf/scripts/python/call-graph-from-postgresql.py
parentnetfilter: nf_tables: add nft_trans_commit_list_add_elem helper (diff)
downloadwireguard-linux-a8ee6b900c147d3bedced6c52ba6cb603226aaa3.tar.xz
wireguard-linux-a8ee6b900c147d3bedced6c52ba6cb603226aaa3.zip
netfilter: nf_tables: prepare for multiple elements in nft_trans_elem structure
Add helpers to release the individual elements contained in the trans_elem container structure. No functional change intended. Followup patch will add 'nelems' member and will turn 'priv' into a flexible array. These helpers can then loop over all elements. Care needs to be taken to handle a mix of new elements and existing elements that are being updated (e.g. timeout refresh). Before this patch, NEWSETELEM transaction with update is released early so nft_trans_set_elem_destroy() won't get called, so we need to skip elements marked as update. Signed-off-by: Florian Westphal <fw@strlen.de> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions