bonding: no longer use RTNL in bonding_show_slaves()
authorEric Dumazet <edumazet@google.com>
Mon, 8 Apr 2024 19:04:36 +0000 (19:04 +0000)
committerJakub Kicinski <kuba@kernel.org>
Wed, 10 Apr 2024 00:31:45 +0000 (17:31 -0700)
commitd67fed98caa1f3c517fd6af7b8f044d05f9e3e5d
treec6b6269c41e4c8b717609da97bc7d8156eebadac
parent6c5d17143fa4e433894a11cd4ce4ce147131d6bf
bonding: no longer use RTNL in bonding_show_slaves()

Slave devices are already RCU protected, simply
switch to bond_for_each_slave_rcu(),

Signed-off-by: Eric Dumazet <edumazet@google.com>
Acked-by: Jay Vosburgh <jay.vosburgh@canonical.com>
Link: https://lore.kernel.org/r/20240408190437.2214473-3-edumazet@google.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/bonding/bond_sysfs.c