diff options
| author | Stanislav Fomichev <[email protected]> | 2025-03-09 21:58:51 +0000 |
|---|---|---|
| committer | Jakub Kicinski <[email protected]> | 2025-03-12 20:19:15 +0000 |
| commit | adbf627f170382684f095c261866510b2b70d841 (patch) | |
| tree | 4d9654bb37f61c1e1419bb76c1cf6552a7610bf5 /tools/testing/selftests/kvm/x86/nested_exceptions_test.c | |
| parent | eth: bnxt: request unconditional ops lock (diff) | |
| download | kernel-adbf627f170382684f095c261866510b2b70d841.tar.gz kernel-adbf627f170382684f095c261866510b2b70d841.zip | |
eth: bnxt: add missing netdev lock management to bnxt_dl_reload_up
bnxt_dl_reload_up is completely missing instance lock management
which can result in `devlink dev reload` leaving with instance
lock held. Add the missing calls.
Also add netdev_assert_locked to make it clear that the up() method
is running with the instance lock grabbed.
v2:
- add net/netdev_lock.h include to bnxt_devlink.c for netdev_assert_locked
Fixes: 004b5008016a ("eth: bnxt: remove most dependencies on RTNL")
Signed-off-by: Stanislav Fomichev <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/testing/selftests/kvm/x86/nested_exceptions_test.c')
0 files changed, 0 insertions, 0 deletions
