rtnetlink: rtnl_stats_dump() changes
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 | rtnetlink: change rtnl_stats_dump() return valuenet/ | +1 | 4 replies | Applied |
| 2/2 | rtnetlink: use for_each_netdev_dump() in rtnl_stats_dump()net/ | +22 | 1 reply | Applied |
Reviews trailers per patch
All 2 patches have a Reviewed-by or Acked-by.
| Patch | David Ahern |
|---|---|
| 1/2 | R-b |
| 2/2 | 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] rtnetlink: rtnl_stats_dump() changes
Getting rid of RTNL in rtnl_stats_dump() looks challenging.
In the meantime, we can:
1) Avoid RTNL acquisition for the final NLMSG_DONE marker.
2) Use for_each_netdev_dump() instead of the net->dev_index_head[] hash table.
Eric Dumazet (2):
rtnetlink: change rtnl_stats_dump() return value
rtnetlink: use for_each_netdev_dump() in rtnl_stats_dump()
net/core/rtnetlink.c | 61 +++++++++++++++++--------------------------- 1 file changed, 23 insertions(+), 38 deletions(-)
Signature · 1 line
2.45.0.rc0.197.gbae5840b3b-goog