linux-next/net/mctp
Eric Dumazet 2d20773aec mctp: no longer rely on net->dev_index_head[]
mctp_dump_addrinfo() is one of the last users of
net->dev_index_head[] in the control path.

Switch to for_each_netdev_dump() for better scalability.

Use C99 for mctp_device_rtnl_msg_handlers[] to prepare
future RTNL removal from mctp_dump_addrinfo()

(mdev->addrs is not yet RCU protected)

Signed-off-by: Eric Dumazet <edumazet@google.com>
Cc: Matt Johnston <matt@codeconstruct.com.au>
Reviewed-by: Kuniyuki Iwashima <kuniyu@amazon.com>
Acked-by: Jeremy Kerr <jk@codeconstruct.com.au>
Link: https://patch.msgid.link/20241206223811.1343076-1-edumazet@google.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2024-12-09 14:29:14 -08:00
..
test net: mctp: test: Use correct skb for route input check 2024-08-19 17:48:00 -07:00
af_mctp.c mctp: Handle error of rtnl_register_module(). 2024-10-10 15:39:35 +02:00
device.c mctp: no longer rely on net->dev_index_head[] 2024-12-09 14:29:14 -08:00
Kconfig net: mctp: tests: Test that outgoing skbs have flow data populated 2024-02-22 13:32:55 +01:00
Makefile mctp: Add test utils 2021-10-03 14:35:41 +01:00
neigh.c mctp: Handle error of rtnl_register_module(). 2024-10-10 15:39:35 +02:00
route.c mctp: Handle error of rtnl_register_module(). 2024-10-10 15:39:35 +02:00