]> git.baikalelectronics.ru Git - kernel.git/commit
watchdog/hardlockup/perf: Cure UP damage
authorThomas Gleixner <tglx@linutronix.de>
Mon, 25 Sep 2017 18:21:54 +0000 (20:21 +0200)
committerThomas Gleixner <tglx@linutronix.de>
Mon, 25 Sep 2017 18:21:54 +0000 (20:21 +0200)
commitc0cf17ddbba0d51f28572c475db534d502d0afcf
tree0814accfe914507045c65a7e12b38acbd03d1b81
parent439ae5e003ca569a6653f552b688c9319fab9d6b
watchdog/hardlockup/perf: Cure UP damage

for_each_cpu() unintuitively reports CPU0 as set independend of the actual
cpumask content on UP kernels. That leads to a NULL pointer dereference
when the cleanup function is invoked and there is no event to clean up.

Reported-by: Fengguang Wu <fengguang.wu@intel.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
kernel/watchdog_hld.c