diff options
Diffstat (limited to 'kernel/signal.c')
-rw-r--r-- | kernel/signal.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kernel/signal.c b/kernel/signal.c index 1117b28488c2..6a5f97cd337a 100644 --- a/kernel/signal.c +++ b/kernel/signal.c | |||
@@ -957,7 +957,6 @@ void zap_other_threads(struct task_struct *p) | |||
957 | { | 957 | { |
958 | struct task_struct *t; | 958 | struct task_struct *t; |
959 | 959 | ||
960 | p->signal->flags = SIGNAL_GROUP_EXIT; | ||
961 | p->signal->group_stop_count = 0; | 960 | p->signal->group_stop_count = 0; |
962 | 961 | ||
963 | for (t = next_thread(p); t != p; t = next_thread(t)) { | 962 | for (t = next_thread(p); t != p; t = next_thread(t)) { |
@@ -1697,7 +1696,8 @@ static int do_signal_stop(int signr) | |||
1697 | } else { | 1696 | } else { |
1698 | struct task_struct *t; | 1697 | struct task_struct *t; |
1699 | 1698 | ||
1700 | if (!likely(sig->flags & SIGNAL_STOP_DEQUEUED)) | 1699 | if (!likely(sig->flags & SIGNAL_STOP_DEQUEUED) || |
1700 | unlikely(sig->group_exit_task)) | ||
1701 | return 0; | 1701 | return 0; |
1702 | /* | 1702 | /* |
1703 | * There is no group stop already in progress. | 1703 | * There is no group stop already in progress. |