diff options
| author | Jakub Kicinski <kuba@kernel.org> | 2026-09-25 21:18:32 -0700 |
|---|---|---|
| committer | Paolo Abeni <pabeni@redhat.com> | 2026-09-29 13:14:20 +0200 |
| commit | e542bad8d52e0a7f0d47647c2d20612fcdc80c09 (patch) | |
| tree | 936223c3edaa47dcae6ff54116434e3d2be6b500 /tools/lib/python/kdoc/python_version.py | |
| parent | b6f74dff6d26c4727d679f69da980836f092fb56 (diff) | |
selftests: net: add test for netdev instance lock ordering on unregister
Dismantle two netns holding a dummy and a netkit pair registered in
opposite order. unregister_netdevice_many_notify() takes the instance
locks of all the devices at once, nesting the two kinds of devices one
way for the first netns and the other way for the second. With lockdep
enabled this used to trigger a circular locking report.
Acked-by: Stanislav Fomichev <sdf@fomichev.me>
Reviewed-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Link: https://patch.msgid.link/20260926041832.1649675-2-kuba@kernel.org
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'tools/lib/python/kdoc/python_version.py')
0 files changed, 0 insertions, 0 deletions
