posix-timer fix requeue accounting when signal is ignored
PATCH 1/1 posix-timer fix requeue accounting when signal is ignored
From: Roman Zippel <[email protected]>
When the posix-timer signal is ignored then the timer is rearmed by the callback function. The requeue pending accounting has to be fixed up else the state might be wrong.
Signed-off-by Roman Zippel <[email protected]>
Signed-off-by Thomas Gleixner <[email protected]>
kernel/posix-timers.c +1 -0
@@ -358,6 +358,7 @@ static int posix_timer_fn(struct hrtimer timer->base->softirq_time, timr->it.real.interval); ret =HRTIMER_RESTART ; + ++timr->it_requeue_pending; } }