diff options
author | David S. Miller <davem@davemloft.net> | 2019-08-06 21:44:57 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-08-06 21:44:57 -0400 |
commit | 13dfb3fa494361ea9a5950f27c9cd8b06d28c04f (patch) | |
tree | 1bf30874f57c6c6b21160a10282191fcd0868055 /kernel/signal.c | |
parent | 05bb520376af2c5146d3c44832c22ec3bb54d778 (diff) | |
parent | 33920f1ec5bf47c5c0a1d2113989bdd9dfb3fae9 (diff) |
Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net
Just minor overlapping changes in the conflicts here.
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'kernel/signal.c')
-rw-r--r-- | kernel/signal.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/kernel/signal.c b/kernel/signal.c index 91b789dd6e72..e667be6907d7 100644 --- a/kernel/signal.c +++ b/kernel/signal.c | |||
@@ -349,7 +349,7 @@ void task_clear_jobctl_pending(struct task_struct *task, unsigned long mask) | |||
349 | * @task has %JOBCTL_STOP_PENDING set and is participating in a group stop. | 349 | * @task has %JOBCTL_STOP_PENDING set and is participating in a group stop. |
350 | * Group stop states are cleared and the group stop count is consumed if | 350 | * Group stop states are cleared and the group stop count is consumed if |
351 | * %JOBCTL_STOP_CONSUME was set. If the consumption completes the group | 351 | * %JOBCTL_STOP_CONSUME was set. If the consumption completes the group |
352 | * stop, the appropriate %SIGNAL_* flags are set. | 352 | * stop, the appropriate `SIGNAL_*` flags are set. |
353 | * | 353 | * |
354 | * CONTEXT: | 354 | * CONTEXT: |
355 | * Must be called with @task->sighand->siglock held. | 355 | * Must be called with @task->sighand->siglock held. |
@@ -1885,6 +1885,7 @@ static void do_notify_pidfd(struct task_struct *task) | |||
1885 | { | 1885 | { |
1886 | struct pid *pid; | 1886 | struct pid *pid; |
1887 | 1887 | ||
1888 | WARN_ON(task->exit_state == 0); | ||
1888 | pid = task_pid(task); | 1889 | pid = task_pid(task); |
1889 | wake_up_all(&pid->wait_pidfd); | 1890 | wake_up_all(&pid->wait_pidfd); |
1890 | } | 1891 | } |