projects
/
platform
/
kernel
/
linux-rpi.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
93e20f5
..
3f067f1
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 */