diff options
| author | Jiawen Wu <jiawenwu@trustnetic.com> | 2026-04-07 10:56:13 +0800 |
|---|---|---|
| committer | Jakub Kicinski <kuba@kernel.org> | 2026-04-12 08:42:28 -0700 |
| commit | 58f6303572ec66e7c2967ac168125f444c9e880d (patch) | |
| tree | d71520e1c1f37d9ca93ba60248b7c81329bb3d0d /tools/testing/vma/include/git@git.tavy.me:linux.git | |
| parent | b736ebed937e5e0ab68cff3ed6103c7aa058f414 (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 'tools/testing/vma/include/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions
