diff options
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 72bb4f51f963..12ffea7c201d 100644 --- a/kernel/signal.c +++ b/kernel/signal.c | |||
@@ -1242,7 +1242,8 @@ void sigqueue_free(struct sigqueue *q) | |||
1242 | /* | 1242 | /* |
1243 | * If the signal is still pending remove it from the | 1243 | * If the signal is still pending remove it from the |
1244 | * pending queue. We must hold ->siglock while testing | 1244 | * pending queue. We must hold ->siglock while testing |
1245 | * q->list to serialize with collect_signal(). | 1245 | * q->list to serialize with collect_signal() or with |
1246 | * __exit_signal()->flush_sigqueue(). | ||
1246 | */ | 1247 | */ |
1247 | spin_lock_irqsave(lock, flags); | 1248 | spin_lock_irqsave(lock, flags); |
1248 | if (!list_empty(&q->list)) | 1249 | if (!list_empty(&q->list)) |