projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
pidns: Fix hang in zap_pid_ns_processes by sending a potentially extra wakeup
[firefly-linux-kernel-4.4.55.git]
/
kernel
/
pid.c
diff --git
a/kernel/pid.c
b/kernel/pid.c
index 66505c1dfc516f3985e2072029152291cd0bedf9..ebe5e80b10f8495a3d6459e0203821f987237df0 100644
(file)
--- a/
kernel/pid.c
+++ b/
kernel/pid.c
@@
-265,6
+265,7
@@
void free_pid(struct pid *pid)
struct pid_namespace *ns = upid->ns;
hlist_del_rcu(&upid->pid_chain);
switch(--ns->nr_hashed) {
+ case 2:
case 1:
/* When all that is left in the pid namespace
* is the reaper wake up the reaper. The reaper