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
sched/core: Reset task's lockless wake-queues on fork()
[firefly-linux-kernel-4.4.55.git]
/
kernel
/
fork.c
diff --git
a/kernel/fork.c
b/kernel/fork.c
index fce002ee3ddffbab7613d0f9ec390683901f3c67..1155eac616878b5494ae94f2f1d0294812ddda72 100644
(file)
--- a/
kernel/fork.c
+++ b/
kernel/fork.c
@@
-380,6
+380,7
@@
static struct task_struct *dup_task_struct(struct task_struct *orig)
#endif
tsk->splice_pipe = NULL;
tsk->task_frag.page = NULL;
+ tsk->wake_q.next = NULL;
account_kernel_stack(ti, 1);