diff options
author | Florian Westphal <fw@strlen.de> | 2022-04-11 14:01:19 +0300 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2022-05-13 19:52:16 +0300 |
commit | 78222bacfca97cb18505df1ba5f3591864498a7e (patch) | |
tree | 757760ef05b8c462d76c0d65aefbb79020e62b7f /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 1397af5bfd7d32b0cf2adb70a78c9a9e8f11d912 (diff) | |
download | linux-78222bacfca97cb18505df1ba5f3591864498a7e.tar.xz |
netfilter: cttimeout: decouple unlink and free on netns destruction
Make it so netns pre_exit unlinks the objects from the pernet list, so
they cannot be found anymore.
netns core issues a synchronize_rcu() before calling the exit hooks so
any the time the exit hooks run unconfirmed nf_conn entries have been
free'd or they have been committed to the hashtable.
The exit hook still tags unconfirmed entries as dying, this can
now be removed in a followup change.
Signed-off-by: Florian Westphal <fw@strlen.de>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions