macvlan: RTNL-less macvlan_fill_info()
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 2 applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | macvlan: annotate data-races around vlan->mode and vlan->flagsdrivers/ | +21 | 2 replies | Applied |
| 2/2 | macvlan: no longer rely on RTNL in macvlan_fill_info()drivers/ | +48 | 2 replies | Applied |
Reviews trailers per patch
All 2 patches have a Reviewed-by or Acked-by.
| Patch | Nikolay Aleksandrov | Kuniyuki Iwashima |
|---|---|---|
| 1/2 | R-b | R-b |
| 2/2 | R-b | 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/2] macvlan: RTNL-less macvlan_fill_info()
This series removes the RTNL lock dependency from macvlan_fill_info(), allowing it to run under RCU read lock.
The first patch annotates data races on 'mode' and 'flags' fields which are accessed locklessly in the RX/TX paths.
The second patch transitions macvlan_fill_info() to RCU, adding necessary annotations for other fields and handling concurrent updates to the MAC address list by computing the count dynamically.
Eric Dumazet (2):
macvlan: annotate data-races around vlan->mode and vlan->flags
macvlan: no longer rely on RTNL in macvlan_fill_info()
drivers/net/macvlan.c | 109 ++++++++++++++++++++++++++---------------- 1 file changed, 69 insertions(+), 40 deletions(-)
Signature · 1 line
2.55.0.rc0.799.gd6f94ed593-goog