git.samba.org
/
sfrench
/
cifs-2.6.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
def98c8
)
workqueue: Fix missing kfree(rescuer) in destroy_workqueue()
author
Tejun Heo
<tj@kernel.org>
Fri, 20 Sep 2019 20:39:57 +0000
(13:39 -0700)
committer
Tejun Heo
<tj@kernel.org>
Fri, 20 Sep 2019 20:39:57 +0000
(13:39 -0700)
Signed-off-by: Tejun Heo <tj@kernel.org>
Reported-by: Qian Cai <cai@lca.pw>
Fixes: def98c84b6cd ("workqueue: Fix spurious sanity check failures in destroy_workqueue()")
kernel/workqueue.c
patch
|
blob
|
history
diff --git
a/kernel/workqueue.c
b/kernel/workqueue.c
index 93e20f5330fcbbccf70821d496377fd7b79f9886..3f067f1d72e3055b538429a6248af3971678564f 100644
(file)
--- a/
kernel/workqueue.c
+++ b/
kernel/workqueue.c
@@
-4345,6
+4345,7
@@
void destroy_workqueue(struct workqueue_struct *wq)
/* rescuer will empty maydays list before exiting */
kthread_stop(rescuer->task);
+ kfree(rescuer);
}
/* sanity checks */