diff options
author | 2024-04-08 16:44:04 +0800 | |
---|---|---|
committer | 2024-04-08 08:02:51 -1000 | |
commit | 31103f40b1b5d4382446b4d5af37e61dce31f8d5 (patch) | |
tree | 15da5ec94a5f58fb1508927bb5a922e6fd183b88 | |
parent | workqueue: remove unnecessary import and function in wq_monitor.py (diff) | |
download | wireguard-linux-31103f40b1b5d4382446b4d5af37e61dce31f8d5.tar.xz wireguard-linux-31103f40b1b5d4382446b4d5af37e61dce31f8d5.zip |
workqueue: Add destroy_work_on_stack() in workqueue_softirq_dead()
This commit add missed destroy_work_on_stack() operations for
dead_work.work.
Signed-off-by: Zqiang <qiang.zhang1211@gmail.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to '')
-rw-r--r-- | kernel/workqueue.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/kernel/workqueue.c b/kernel/workqueue.c index a8cbaede1e22..3c3154b40698 100644 --- a/kernel/workqueue.c +++ b/kernel/workqueue.c @@ -3661,6 +3661,7 @@ void workqueue_softirq_dead(unsigned int cpu) queue_work(system_bh_wq, &dead_work.work); wait_for_completion(&dead_work.done); + destroy_work_on_stack(&dead_work.work); } } |