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: <20241009232728.107604-1-edumazet@google.com>
Date: Wed,  9 Oct 2024 23:27:25 +0000
From: Eric Dumazet <edumazet@...gle.com>
To: "David S . Miller" <davem@...emloft.net>, Jakub Kicinski <kuba@...nel.org>, 
	Paolo Abeni <pabeni@...hat.com>
Cc: Kuniyuki Iwashima <kuniyu@...zon.com>, netdev@...r.kernel.org, eric.dumazet@...il.com, 
	Eric Dumazet <edumazet@...gle.com>
Subject: [PATCH net-next 0/2] net: do not rely on rtnl in netdev_nl_napi_get_xxx()

With upcoming per netns RTNL, rtnl use in netdev_nl_napi_get_doit()
and netdev_nl_napi_get_dumpit() is a bit problematic.

They can be changed to only rely on RCU.

Eric Dumazet (2):
  netdev-genl: do not use rtnl in netdev_nl_napi_get_doit()
  netdev-genl: do not use rtnl in netdev_nl_napi_get_dumpit()

 include/linux/netdevice.h |  3 ++-
 net/core/dev.c            | 21 ++++++++++++---------
 net/core/netdev-genl.c    | 31 ++++++++++++++++---------------
 3 files changed, 30 insertions(+), 25 deletions(-)

-- 
2.47.0.rc0.187.ge670bccf7e-goog


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ