diff options
| author | Eric Dumazet <[email protected]> | 2024-12-06 22:38:11 +0000 |
|---|---|---|
| committer | Jakub Kicinski <[email protected]> | 2024-12-09 22:29:14 +0000 |
| commit | 2d20773aec14996b6cc4db92d885028319be683d (patch) | |
| tree | d3a88656f2013c2ed692faced7b83e5da816cdca /drivers/net/dsa/microchip/ksz_common.c | |
| parent | Merge branch 'rxrpc-implement-jumbo-data-transmission-and-rack-tlp' (diff) | |
| download | kernel-2d20773aec14996b6cc4db92d885028319be683d.tar.gz kernel-2d20773aec14996b6cc4db92d885028319be683d.zip | |
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 <[email protected]>
Cc: Matt Johnston <[email protected]>
Reviewed-by: Kuniyuki Iwashima <[email protected]>
Acked-by: Jeremy Kerr <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'drivers/net/dsa/microchip/ksz_common.c')
0 files changed, 0 insertions, 0 deletions
