posix-timers: do_schedule_next_timer: fix the setting of ->si_overrun
PATCH 2/2 posix-timers: do_schedule_next_timer: fix the setting of ->si_overrun
do_schedule_next_timer() sets info->si_overrun = timr->it_overrun_last, this discards the already accumulated overruns.
Signed-off-by Oleg Nesterov <[email protected]>
kernel/posix-timers.c renamed from kernel/posix-timers.c~2_SNT_OVERRUN +1 -1
@@ -289,7 +289,7 @@ void do_schedule_next_timer(struct siginelse schedule_next_timer (timr); - info->si_overrun = timr->it_overrun_last; + info->si_overrun += timr->it_overrun_last; }if (timr)