diff options
| author | Jakub Kicinski <[email protected]> | 2025-04-18 01:53:17 +0000 |
|---|---|---|
| committer | Jakub Kicinski <[email protected]> | 2025-04-22 00:10:49 +0000 |
| commit | d3153c3b42707d26c81083b426f2ef0951bce545 (patch) | |
| tree | 91e2adc723cb6650095565dd4e48b58fc1e9f76d /drivers/net/xen-netfront.c | |
| parent | Merge branch 'net-mlx5-fix-null-dereference-and-memory-leak-in-ttc_table-crea... (diff) | |
| download | kernel-d3153c3b42707d26c81083b426f2ef0951bce545.tar.gz kernel-d3153c3b42707d26c81083b426f2ef0951bce545.zip | |
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 <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'drivers/net/xen-netfront.c')
0 files changed, 0 insertions, 0 deletions
