diff options
author | Eric Dumazet <edumazet@google.com> | 2024-12-09 10:07:46 +0000 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2024-12-10 18:32:32 -0800 |
commit | 53970a05f799087e2dd2005973609188504e7fcc (patch) | |
tree | ef0fe2bc48bb4ee31b528e44d12983f8a2349b84 /rust/helpers/workqueue.c | |
parent | be325f08c432ae5ac6d6594d163e1899cdf202df (diff) |
rtnetlink: switch rtnl_fdb_dump() to for_each_netdev_dump()
This is the last netdev iterator still using net->dev_index_head[].
Convert to modern for_each_netdev_dump() for better scalability,
and use common patterns in our stack.
Following patch in this series removes the pad field
in struct ndo_fdb_dump_context.
Signed-off-by: Eric Dumazet <edumazet@google.com>
Reviewed-by: Ido Schimmel <idosch@nvidia.com>
Reviewed-by: Kuniyuki Iwashima <kuniyu@amazon.com>
Link: https://patch.msgid.link/20241209100747.2269613-3-edumazet@google.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'rust/helpers/workqueue.c')
0 files changed, 0 insertions, 0 deletions