aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux
diff options
context:
space:
mode:
authorFlorian Westphal <[email protected]>2024-04-25 14:06:42 +0200
committerPablo Neira Ayuso <[email protected]>2024-05-06 16:29:22 +0200
commit8b8a2417558c632f249abebde97adf8c46540de2 (patch)
treeffcf5cea66e172c3757c2e38ebfd6b34f53864df /scripts/gdb/linux
parent80efd2997fb9343a0283cf3cac5524a4595c8ff4 (diff)
netfilter: nft_set_pipapo: prepare destroy function for on-demand clone
Once priv->clone can be NULL in case no insertions/removals occurred in the last transaction we need to drop set elements from priv->match if priv->clone is NULL. While at it, condense this function by reusing the pipapo_free_match helper instead of open-coded version. The rcu_barrier() is removed, its not needed: old call_rcu instances for pipapo_reclaim_match do not access struct nft_set. Signed-off-by: Florian Westphal <[email protected]> Reviewed-by: Stefano Brivio <[email protected]> Signed-off-by: Pablo Neira Ayuso <[email protected]>
Diffstat (limited to 'scripts/gdb/linux')
0 files changed, 0 insertions, 0 deletions