mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-08-05 16:54:27 +00:00
![]() 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:
|
||
---|---|---|
.. | ||
Kconfig | ||
Makefile | ||
octep_cn9k_pf.c | ||
octep_cnxk_pf.c | ||
octep_config.h | ||
octep_cp_version.h | ||
octep_ctrl_mbox.c | ||
octep_ctrl_mbox.h | ||
octep_ctrl_net.c | ||
octep_ctrl_net.h | ||
octep_ethtool.c | ||
octep_main.c | ||
octep_main.h | ||
octep_pfvf_mbox.c | ||
octep_pfvf_mbox.h | ||
octep_regs_cn9k_pf.h | ||
octep_regs_cnxk_pf.h | ||
octep_rx.c | ||
octep_rx.h | ||
octep_tx.c | ||
octep_tx.h |