diff options
author | Jakub Kicinski <kuba@kernel.org> | 2025-04-17 18:53:17 -0700 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2025-04-21 17:10:49 -0700 |
commit | d3153c3b42707d26c81083b426f2ef0951bce545 (patch) | |
tree | 91e2adc723cb6650095565dd4e48b58fc1e9f76d /scripts/generate_rust_analyzer.py | |
parent | b9a4c74b0ec13f54a1362d993c7d204fde5fe4e3 (diff) |
net: fix the missing unlock for detached devices
The combined condition was left as is when we converted
from __dev_get_by_index() to netdev_get_by_index_lock().
There was no need to undo anything with the former, for
the latter we need an unlock.
Fixes: 1d22d3060b9b ("net: drop rtnl_lock for queue_mgmt operations")
Reviewed-by: Mina Almasry <almasrymina@google.com>
Link: https://patch.msgid.link/20250418015317.1954107-1-kuba@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions