mirror of
https://github.com/torvalds/linux.git
synced 2026-04-18 06:44:00 -04:00
eth: bnxt: switch to netif_close
All (error) paths that call dev_close are already holding instance lock,
so switch to netif_close to avoid the deadlock.
v2:
- add missing EXPORT_MODULE for netif_close
Fixes: 004b500801 ("eth: bnxt: remove most dependencies on RTNL")
Reported-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: Stanislav Fomichev <sdf@fomichev.me>
Link: https://patch.msgid.link/20250309215851.2003708-1-sdf@fomichev.me
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
This commit is contained in:
committed by
Jakub Kicinski
parent
0a13c1e0a4
commit
110eff172d
@@ -1760,6 +1760,7 @@ void netif_close(struct net_device *dev)
|
||||
list_del(&single);
|
||||
}
|
||||
}
|
||||
EXPORT_SYMBOL(netif_close);
|
||||
|
||||
void netif_disable_lro(struct net_device *dev)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user