diff options
| author | Jakub Kicinski <kuba@kernel.org> | 2026-06-02 18:28:40 -0700 |
|---|---|---|
| committer | Jakub Kicinski <kuba@kernel.org> | 2026-06-04 14:04:56 -0700 |
| commit | 9f275c2e9020a68b71a3c3bbe5d96e7c3546eee1 (patch) | |
| tree | a87d63af73652ca5c93540a5fc051aba1db7b2a8 /include/linux/timerqueue.h | |
| parent | af1737dab07c861c3de4576f19dcfbd8f2329eb8 (diff) | |
net: ethtool: make sure __ethtool_get_link_ksettings() is ops-locked
All drivers which may call *_get_link_ksettings() on ops-locked
devices from paths already holding the ops lock are ready now.
Make __ethtool_get_link_ksettings() take the ops lock, and assert
that it's held in netif_get_link_ksettings().
Reviewed-by: Nicolai Buchwitz <nb@tipi-net.de>
Acked-by: Stanislav Fomichev <sdf@fomichev.me>
Link: https://patch.msgid.link/20260603012840.2254293-12-kuba@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'include/linux/timerqueue.h')
0 files changed, 0 insertions, 0 deletions
