diff options
Diffstat (limited to 'kernel/signal.c')
-rw-r--r-- | kernel/signal.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/kernel/signal.c b/kernel/signal.c index f2b96b08fb44..6904bbbfe116 100644 --- a/kernel/signal.c +++ b/kernel/signal.c | |||
@@ -406,6 +406,8 @@ void __exit_signal(struct task_struct *tsk) | |||
406 | 406 | ||
407 | void exit_signal(struct task_struct *tsk) | 407 | void exit_signal(struct task_struct *tsk) |
408 | { | 408 | { |
409 | atomic_dec(&tsk->signal->live); | ||
410 | |||
409 | write_lock_irq(&tasklist_lock); | 411 | write_lock_irq(&tasklist_lock); |
410 | __exit_signal(tsk); | 412 | __exit_signal(tsk); |
411 | write_unlock_irq(&tasklist_lock); | 413 | write_unlock_irq(&tasklist_lock); |