net: do not rely on rtnl in netdev_nl_napi_get_xxx()
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest2 patches 1 replyIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | netdev-genl: do not use rtnl in netdev_nl_napi_get_doit()include/ net/ net/ | +25 | 0 replies | |
| 2/2 | netdev-genl: do not use rtnl in netdev_nl_napi_get_dumpit()net/ | +5 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [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(-)
Signature · 1 line
2.47.0.rc0.187.ge670bccf7e-goog