]> git.dujemihanovic.xyz Git - linux.git/commit
Merge branch 'rtnetlink-rtnl_stats_dump-changes'
authorJakub Kicinski <kuba@kernel.org>
Fri, 3 May 2024 22:04:12 +0000 (15:04 -0700)
committerJakub Kicinski <kuba@kernel.org>
Fri, 3 May 2024 22:04:12 +0000 (15:04 -0700)
commitf3ad4914332fc85ceb1689208da229efff896551
tree88f3935a0535f10c5812d8012b29601efd917e6d
parent5829614a7b3b2cc9820efb2d29a205c00d748fcf
parent0feb396f7428b95710ea72c1dc33ae363019fae5
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>