diff options
| author | Sathesh B Edara <[email protected]> | 2025-04-29 11:46:24 +0000 |
|---|---|---|
| committer | Jakub Kicinski <[email protected]> | 2025-05-01 14:11:44 +0000 |
| commit | 34f42736b325287a7b2ce37e415838f539767bda (patch) | |
| tree | 8a6c1cd8ae7cc0171e9f5ed31a81edd1ebcae688 /net/unix/af_unix.c | |
| parent | net: fec: ERR007885 Workaround for conventional TX (diff) | |
| download | kernel-34f42736b325287a7b2ce37e415838f539767bda.tar.gz kernel-34f42736b325287a7b2ce37e415838f539767bda.zip | |
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: 5cb96c29aa0e ("octeon_ep: add heartbeat monitor")
Signed-off-by: Sathesh B Edara <[email protected]>
Reviewed-by: Simon Horman <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions
