Commit f3ad491
committed
Merge branch 'rtnetlink-rtnl_stats_dump-changes'
Eric Dumazet says:
====================
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.
====================
Link: https://lore.kernel.org/r/20240502113748.1622637-1-edumazet@google.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>1 file changed
+23
-38
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5961 | 5961 | | |
5962 | 5962 | | |
5963 | 5963 | | |
5964 | | - | |
5965 | 5964 | | |
5966 | 5965 | | |
5967 | 5966 | | |
5968 | 5967 | | |
5969 | | - | |
| 5968 | + | |
| 5969 | + | |
| 5970 | + | |
| 5971 | + | |
| 5972 | + | |
5970 | 5973 | | |
5971 | | - | |
5972 | | - | |
5973 | | - | |
5974 | | - | |
5975 | | - | |
5976 | | - | |
| 5974 | + | |
5977 | 5975 | | |
5978 | 5976 | | |
5979 | 5977 | | |
| |||
5992 | 5990 | | |
5993 | 5991 | | |
5994 | 5992 | | |
5995 | | - | |
5996 | | - | |
5997 | | - | |
5998 | | - | |
5999 | | - | |
6000 | | - | |
6001 | | - | |
6002 | | - | |
6003 | | - | |
6004 | | - | |
6005 | | - | |
6006 | | - | |
6007 | | - | |
6008 | | - | |
6009 | | - | |
6010 | | - | |
| 5993 | + | |
| 5994 | + | |
| 5995 | + | |
| 5996 | + | |
| 5997 | + | |
| 5998 | + | |
| 5999 | + | |
| 6000 | + | |
| 6001 | + | |
| 6002 | + | |
| 6003 | + | |
6011 | 6004 | | |
6012 | | - | |
6013 | | - | |
6014 | | - | |
6015 | | - | |
6016 | | - | |
6017 | | - | |
6018 | | - | |
6019 | | - | |
| 6005 | + | |
| 6006 | + | |
| 6007 | + | |
| 6008 | + | |
| 6009 | + | |
6020 | 6010 | | |
6021 | | - | |
6022 | | - | |
6023 | | - | |
6024 | | - | |
6025 | | - | |
6026 | 6011 | | |
6027 | | - | |
| 6012 | + | |
6028 | 6013 | | |
6029 | 6014 | | |
6030 | 6015 | | |
| |||
0 commit comments