diff options
| author | Stanislav Fomichev <[email protected]> | 2025-03-28 17:42:16 +0000 |
|---|---|---|
| committer | Jakub Kicinski <[email protected]> | 2025-03-31 23:53:22 +0000 |
| commit | dd07df9ff3d148aee87fcbab99ff14f0727752f4 (patch) | |
| tree | 1fee36d0ae7dd14fce4ce37e63c845dc6e2db806 /net/ipv4/tcp_fastopen.c | |
| parent | eth: gve: add missing netdev locks on reset and shutdown paths (diff) | |
| download | kernel-dd07df9ff3d148aee87fcbab99ff14f0727752f4.tar.gz kernel-dd07df9ff3d148aee87fcbab99ff14f0727752f4.zip | |
bnxt_en: bring back rtnl lock in bnxt_shutdown
Taehee reports missing rtnl from bnxt_shutdown path:
inetdev_event (./include/linux/inetdevice.h:256 net/ipv4/devinet.c:1585)
notifier_call_chain (kernel/notifier.c:85)
__dev_close_many (net/core/dev.c:1732 (discriminator 3))
kernel/locking/mutex.c:713 kernel/locking/mutex.c:732)
dev_close_many (net/core/dev.c:1786)
netif_close (./include/linux/list.h:124 ./include/linux/list.h:215
bnxt_shutdown (drivers/net/ethernet/broadcom/bnxt/bnxt.c:16707) bnxt_en
pci_device_shutdown (drivers/pci/pci-driver.c:511)
device_shutdown (drivers/base/core.c:4820)
kernel_restart (kernel/reboot.c:271 kernel/reboot.c:285)
Bring back the rtnl lock.
Link: https://lore.kernel.org/netdev/CAMArcTV4P8PFsc6O2tSgzRno050DzafgqkLA2b7t=Fv_SY=brw@mail.gmail.com/
Fixes: 004b5008016a ("eth: bnxt: remove most dependencies on RTNL")
Reported-by: Taehee Yoo <[email protected]>
Signed-off-by: Stanislav Fomichev <[email protected]>
Tested-by: Taehee Yoo <[email protected]>
Tested-by: Breno Leitao <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'net/ipv4/tcp_fastopen.c')
0 files changed, 0 insertions, 0 deletions
