linux/drivers/net/ethernet/marvell/octeon_ep
Sathesh B Edara 34f42736b3 octeon_ep: Fix host hang issue during device reboot
When the host loses heartbeat messages from the device,
the driver calls the device-specific ndo_stop function,
which frees the resources. If the driver is unloaded in
this scenario, it calls ndo_stop again, attempting to free
resources that have already been freed, leading to a host
hang issue. To resolve this, dev_close should be called
instead of the device-specific stop function.dev_close
internally calls ndo_stop to stop the network interface
and performs additional cleanup tasks. During the driver
unload process, if the device is already down, ndo_stop
is not called.

Fixes: 5cb96c29aa ("octeon_ep: add heartbeat monitor")
Signed-off-by: Sathesh B Edara <sedara@marvell.com>
Reviewed-by: Simon Horman <horms@kernel.org>
Link: https://patch.msgid.link/20250429114624.19104-1-sedara@marvell.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2025-05-01 07:11:44 -07:00
..
Kconfig
Makefile octeon_ep: add PF-VF mailbox communication 2023-12-19 12:00:52 +01:00
octep_cn9k_pf.c octeon_ep: add PF-VF mailbox communication 2023-12-19 12:00:52 +01:00
octep_cnxk_pf.c octeon_ep: add PF-VF mailbox communication 2023-12-19 12:00:52 +01:00
octep_config.h
octep_cp_version.h
octep_ctrl_mbox.c
octep_ctrl_mbox.h octeon_ep: add PF-VF mailbox communication 2023-12-19 12:00:52 +01:00
octep_ctrl_net.c octeon_ep: support firmware notifications for VFs 2023-12-19 12:00:53 +01:00
octep_ctrl_net.h
octep_ethtool.c octeon_ep: update tx/rx stats locally for persistence 2025-01-18 17:26:39 -08:00
octep_main.c octeon_ep: Fix host hang issue during device reboot 2025-05-01 07:11:44 -07:00
octep_main.h Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2025-01-21 10:24:33 +01:00
octep_pfvf_mbox.c octeon_ep: add ndo ops for VFs in PF driver 2024-12-09 16:13:51 -08:00
octep_pfvf_mbox.h octeon_ep: add ndo ops for VFs in PF driver 2024-12-09 16:13:51 -08:00
octep_regs_cn9k_pf.h octeon_ep: add PF-VF mailbox communication 2023-12-19 12:00:52 +01:00
octep_regs_cnxk_pf.h octeon_ep: add PF-VF mailbox communication 2023-12-19 12:00:52 +01:00
octep_rx.c octeon_ep: update tx/rx stats locally for persistence 2025-01-18 17:26:39 -08:00
octep_rx.h octeon_ep: update tx/rx stats locally for persistence 2025-01-18 17:26:39 -08:00
octep_tx.c octeon_ep: update tx/rx stats locally for persistence 2025-01-18 17:26:39 -08:00
octep_tx.h octeon_ep: update tx/rx stats locally for persistence 2025-01-18 17:26:39 -08:00