diff options
| author | Kuniyuki Iwashima <[email protected]> | 2025-01-15 09:55:45 +0000 |
|---|---|---|
| committer | Jakub Kicinski <[email protected]> | 2025-01-17 01:20:50 +0000 |
| commit | be94cfdb993ff091ce3b98a16b45795198957f95 (patch) | |
| tree | fb21e89872604ac996af35b011eb1aaa7ee882f9 /drivers/net/phy/phy.c | |
| parent | dev: Remove devnet_rename_sem. (diff) | |
| download | kernel-be94cfdb993ff091ce3b98a16b45795198957f95.tar.gz kernel-be94cfdb993ff091ce3b98a16b45795198957f95.zip | |
dev: Hold rtnl_net_lock() for dev_ifsioc().
Basically, dev_ifsioc() operates on the passed single netns (except
for netdev notifier chains with lower/upper devices for which we will
need more changes).
Let's hold rtnl_net_lock() for dev_ifsioc().
Now that NETDEV_CHANGENAME is always triggered under rtnl_net_lock()
of the device's netns. (do_setlink() and dev_ifsioc())
Signed-off-by: Kuniyuki Iwashima <[email protected]>
Reviewed-by: Eric Dumazet <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'drivers/net/phy/phy.c')
0 files changed, 0 insertions, 0 deletions
