Commit 88be1c98 authored by Oleg Nesterov's avatar Oleg Nesterov Committed by Greg Kroah-Hartman

posix-timers: do_schedule_next_timer: fix the setting of ->si_overrun

commit 54da1174 upstream

do_schedule_next_timer() sets info->si_overrun = timr->it_overrun_last,
this discards the already accumulated overruns.
Signed-off-by: default avatarOleg Nesterov <oleg@tv-sign.ru>
Cc: Mark McLoughlin <markmc@redhat.com>
Cc: Oliver Pinter <oliver.pntr@gmail.com>
Cc: Roland McGrath <roland@redhat.com>
Cc: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarThomas Gleixner <tglx@linutronix.de>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent 0c920358
...@@ -289,7 +289,7 @@ void do_schedule_next_timer(struct siginfo *info) ...@@ -289,7 +289,7 @@ void do_schedule_next_timer(struct siginfo *info)
else else
schedule_next_timer(timr); schedule_next_timer(timr);
info->si_overrun = timr->it_overrun_last; info->si_overrun += timr->it_overrun_last;
} }
if (timr) if (timr)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment