netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net-next 0/2] inet: fix defrag units dismantle races
@ 2019-06-18 18:08 Eric Dumazet
  2019-06-18 18:08 ` [PATCH net-next 1/2] netns: add pre_exit method to struct pernet_operations Eric Dumazet
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Eric Dumazet @ 2019-06-18 18:08 UTC (permalink / raw)
  To: David S . Miller; +Cc: netdev, Eric Dumazet, Eric Dumazet

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


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2019-06-19 15:38 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-06-18 18:08 [PATCH net-next 0/2] inet: fix defrag units dismantle races Eric Dumazet
2019-06-18 18:08 ` [PATCH net-next 1/2] netns: add pre_exit method to struct pernet_operations Eric Dumazet
2019-06-18 18:09 ` [PATCH net-next 2/2] inet: fix various use-after-free in defrags units Eric Dumazet
2019-06-19 15:38 ` [PATCH net-next 0/2] inet: fix defrag units dismantle races David Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).