This series add a new pre_exit() method to struct pernet_operations to solve a race in defrag units dismantle, without adding extra delays to netns dismantles.
Eric Dumazet (2): netns: add pre_exit method to struct pernet_operations inet: fix various use-after-free in defrags units include/net/inet_frag.h | 8 ++++++- include/net/ipv6_frag.h | 2 ++ include/net/net_namespace.h | 5 +++++ net/core/net_namespace.c | 28 +++++++++++++++++++++++++ net/ieee802154/6lowpan/reassembly.c | 13 ++++++++++-- net/ipv4/inet_fragment.c | 19 ++++------------- net/ipv4/ip_fragment.c | 14 +++++++++++-- net/ipv6/netfilter/nf_conntrack_reasm.c | 10 +++++++-- net/ipv6/reassembly.c | 10 +++++++-- 9 files changed, 85 insertions(+), 24 deletions(-) -- 2.22.0.410.gd8fdbe21b5-goog