[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20190618180900.88939-1-edumazet@google.com>
Date: Tue, 18 Jun 2019 11:08:58 -0700
From: Eric Dumazet <edumazet@...gle.com>
To: "David S . Miller" <davem@...emloft.net>
Cc: netdev <netdev@...r.kernel.org>,
Eric Dumazet <edumazet@...gle.com>,
Eric Dumazet <eric.dumazet@...il.com>
Subject: [PATCH net-next 0/2] inet: fix defrag units dismantle races
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
Powered by blists - more mailing lists