mirror of
https://github.com/torvalds/linux.git
synced 2026-10-07 19:16:02 +02:00
force_close_task runs on the system workqueue, which destroy_workqueue() does not drain, so it can run after free_netdev() and touch freed memory. Cancel it after destroying the workqueues, before free_netdev(). This issue was found by an in-house static analysis tool. Cc: stable+noautosel@kernel.org # untested fix to a driver init path race Signed-off-by: Fan Wu <fanwu01@zju.edu.cn> Reviewed-by: Simon Horman <horms@kernel.org> Link: https://patch.msgid.link/20260805012337.416908-1-fanwu01@zju.edu.cn Signed-off-by: Jakub Kicinski <kuba@kernel.org> |
||
|---|---|---|
| .. | ||
| fjes_debugfs.c | ||
| fjes_ethtool.c | ||
| fjes_hw.c | ||
| fjes_hw.h | ||
| fjes_main.c | ||
| fjes_regs.h | ||
| fjes_trace.c | ||
| fjes_trace.h | ||
| fjes.h | ||
| Makefile | ||