diff options
| author | Florian Westphal <[email protected]> | 2022-04-11 13:01:19 +0200 |
|---|---|---|
| committer | Pablo Neira Ayuso <[email protected]> | 2022-05-13 18:52:16 +0200 |
| commit | 78222bacfca97cb18505df1ba5f3591864498a7e (patch) | |
| tree | 757760ef05b8c462d76c0d65aefbb79020e62b7f /tools/perf/scripts/python | |
| parent | 1397af5bfd7d32b0cf2adb70a78c9a9e8f11d912 (diff) | |
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 <[email protected]>
Signed-off-by: Pablo Neira Ayuso <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions