lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20250214081818.81658-1-kuniyu@amazon.com>
Date: Fri, 14 Feb 2025 17:18:15 +0900
From: Kuniyuki Iwashima <kuniyu@...zon.com>
To: Andrew Lunn <andrew+netdev@...n.ch>, "David S. Miller"
	<davem@...emloft.net>, Eric Dumazet <edumazet@...gle.com>, Jakub Kicinski
	<kuba@...nel.org>, Paolo Abeni <pabeni@...hat.com>, Simon Horman
	<horms@...nel.org>
CC: Kuniyuki Iwashima <kuniyu@...zon.com>, Kuniyuki Iwashima
	<kuni1840@...il.com>, <netdev@...r.kernel.org>
Subject: [PATCH v1 net-next 0/3] bareudp/pfcp/ppp: Improve netns dismantle.

pfcp and ppp holds RTNL in pernet_operations.exit(), which can be
converted to ->exit_batch_rtnl().  Patch 1 and 2 do the conversion.

bareudp leaves some unregistered devices in a list in dying netns
depending on where the device is cleaned up.  Patch 3 fixes that
inconsistency.


Kuniyuki Iwashima (3):
  pfcp: Convert pfcp_net_exit() to ->exit_batch_rtnl().
  ppp: Split ppp_exit_net() to ->exit_batch_rtnl().
  bareudp: Call bareudp_dellink() in bareudp_destroy_tunnels().

 drivers/net/bareudp.c         |  2 +-
 drivers/net/pfcp.c            | 27 ++++++++++++++++-----------
 drivers/net/ppp/ppp_generic.c | 33 ++++++++++++++++++++++-----------
 3 files changed, 39 insertions(+), 23 deletions(-)

-- 
2.39.5 (Apple Git-154)


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ