diff options
| author | 2026-04-07 10:56:13 +0800 | |
|---|---|---|
| committer | 2026-04-12 08:42:28 -0700 | |
| commit | 58f6303572ec66e7c2967ac168125f444c9e880d (patch) | |
| tree | d71520e1c1f37d9ca93ba60248b7c81329bb3d0d /samples/kobject/ssh:/git@git.zx2c4.com | |
| parent | net: wangxun: move ethtool_ops.set_channels into libwx (diff) | |
net: wangxun: reorder timer and work sync cancellations
When removing the device, timer_delete_sync(&wx->service_timer) is
called in .ndo_stop() after cancel_work_sync(&wx->service_task). This
may cause new work to be queued after device down.
Move unregister_netdev() before cancel_work_sync(), and use
timer_shutdown_sync() to prevent the timer from being re-armed.
Signed-off-by: Jiawen Wu <jiawenwu@trustnetic.com>
Link: https://patch.msgid.link/20260407025616.33652-7-jiawenwu@trustnetic.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'samples/kobject/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions
