summaryrefslogtreecommitdiffstats
path: root/kernel/signal.c
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2008-08-11 16:46:11 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2008-08-11 16:46:11 -0700
commit67a077dca4e648a662e32cbeaaba8094d2e30229 (patch)
tree2f8943838b73b0a8ea590b1aaad9294eb280ea1e /kernel/signal.c
parent9b4d0bab32e18e4f72781f9fa309a81495b2aff3 (diff)
parent2106b531eaa2edd0c2dfa735a0556c08c7ba3c86 (diff)
downloadop-kernel-dev-67a077dca4e648a662e32cbeaaba8094d2e30229.zip
op-kernel-dev-67a077dca4e648a662e32cbeaaba8094d2e30229.tar.gz
Merge branch 'timers-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip
* 'timers-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip: posix-timers: fix posix_timer_event() vs dequeue_signal() race posix-timers: do_schedule_next_timer: fix the setting of ->si_overrun
Diffstat (limited to 'kernel/signal.c')
-rw-r--r--kernel/signal.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/kernel/signal.c b/kernel/signal.c
index 954f77d..c539f60 100644
--- a/kernel/signal.c
+++ b/kernel/signal.c
@@ -1304,6 +1304,7 @@ int send_sigqueue(struct sigqueue *q, struct task_struct *t, int group)
q->info.si_overrun++;
goto out;
}
+ q->info.si_overrun = 0;
signalfd_notify(t, sig);
pending = group ? &t->signal->shared_pending : &t->pending;
OpenPOWER on IntegriCloud