inet: implement lockless RTM_GETNETCONF ops
Status from this message: This series was applied to netdev/net-next.git (main)
Get series with b4
b4 am [email protected]Versions newest first
Patches in v1 All 3 applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | inet: annotate devconf data-racesinclude/ net/ net/ +2 more | +24 | 1 reply | Applied |
| 2/3 | inet: do not use RTNL in inet_netconf_get_devconf()net/ | +15 | 3 replies | Applied |
| 3/3 | inet: use xa_array iterator to implement inet_netconf_dump_devconf()net/ | +43 | 1 reply | Applied |
Reviews trailers per patch
All 3 patches have a Reviewed-by or Acked-by.
| Patch | Jiri Pirko |
|---|---|
| 1/3 | R-b |
| 2/3 | R-b |
| 3/3 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH net-next 0/3] inet: implement lockless RTM_GETNETCONF ops
This series removes RTNL use for RTM_GETNETCONF operations on AF_INET.
- Annotate data-races to avoid possible KCSAN splats.
- "ip -4 netconf show dev XXX" can be implemented without RTNL [1]
- "ip -4 netconf" dumps can be implemented using RCU instead of RTNL [1]
[1] This only refers to RTM_GETNETCONF operation, "ip" command also uses RTM_GETLINK dumps which are using RTNL at this moment.
Eric Dumazet (3):
inet: annotate devconf data-races
inet: do not use RTNL in inet_netconf_get_devconf()
inet: use xa_array iterator to implement inet_netconf_dump_devconf()
include/linux/inetdevice.h | 14 ++-- net/ipv4/devinet.c | 147 +++++++++++++++++-------------------- net/ipv4/igmp.c | 4 +- net/ipv4/proc.c | 2 +- net/ipv4/route.c | 4 +- 5 files changed, 81 insertions(+), 90 deletions(-)
Signature · 1 line
2.44.0.rc1.240.g4c46232300-goog