提交 b6557fbc 编写于 作者: T Thomas Gleixner 提交者: Linus Torvalds

[PATCH] hrtimers: fix possible use of NULL pointer in posix-timers

Fixup the conversion of posix-timers to hrtimers.
Signed-off-by: NThomas Gleixner <tglx@linutronix.de>
Signed-off-by: NAndrew Morton <akpm@osdl.org>
Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
上级 bc1978d4
...@@ -290,6 +290,7 @@ void do_schedule_next_timer(struct siginfo *info) ...@@ -290,6 +290,7 @@ void do_schedule_next_timer(struct siginfo *info)
info->si_overrun = timr->it_overrun_last; info->si_overrun = timr->it_overrun_last;
} }
if (timr)
unlock_timer(timr, flags); unlock_timer(timr, flags);
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册