From: Jakub Kicinski Date: Fri, 3 May 2024 22:04:12 +0000 (-0700) Subject: Merge branch 'rtnetlink-rtnl_stats_dump-changes' X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=f3ad4914332fc85ceb1689208da229efff896551;p=users%2Fjedix%2Flinux-maple.git 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 --- f3ad4914332fc85ceb1689208da229efff896551