diff options
author | 2022-04-11 13:01:19 +0200 | |
---|---|---|
committer | 2022-05-13 18:52:16 +0200 | |
commit | 78222bacfca97cb18505df1ba5f3591864498a7e (patch) | |
tree | 757760ef05b8c462d76c0d65aefbb79020e62b7f /drivers/net/loopback.c | |
parent | netfilter: conntrack: remove the percpu dying list (diff) | |
download | wireguard-linux-78222bacfca97cb18505df1ba5f3591864498a7e.tar.xz wireguard-linux-78222bacfca97cb18505df1ba5f3591864498a7e.zip |
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 'drivers/net/loopback.c')
0 files changed, 0 insertions, 0 deletions