[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20240502113748.1622637-1-edumazet@google.com>
Date: Thu, 2 May 2024 11:37:46 +0000
From: Eric Dumazet <edumazet@...gle.com>
To: "David S . Miller" <davem@...emloft.net>, Jakub Kicinski <kuba@...nel.org>,
Paolo Abeni <pabeni@...hat.com>
Cc: netdev@...r.kernel.org, eric.dumazet@...il.com,
Ido Schimmel <idosch@...dia.com>, Jiri Pirko <jiri@...dia.com>, Eric Dumazet <edumazet@...gle.com>
Subject: [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(-)
--
2.45.0.rc0.197.gbae5840b3b-goog
Powered by blists - more mailing lists