diff options
author | Peter Zijlstra <peterz@infradead.org> | 2013-11-19 16:41:49 +0100 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2013-11-19 17:01:16 +0100 |
commit | 42eb088ed246a5a817bb45a8b32fe234cf1c0f8b (patch) | |
tree | 39c1ec62de43ed1fd54236258a9d9cb4769068c6 /kernel/sched/cpupri.h | |
parent | 9abf24d465180f5f2eb26a43545348262f16b771 (diff) | |
download | linux-42eb088ed246a5a817bb45a8b32fe234cf1c0f8b.tar.bz2 |
sched: Avoid NULL dereference on sd_busy
Commit 37dc6b50cee9 ("sched: Remove unnecessary iteration over sched
domains to update nr_busy_cpus") forgot to clear 'sd_busy' under some
conditions leading to a possible NULL deref in set_cpu_sd_state_idle().
Reported-by: Anton Blanchard <anton@samba.org>
Cc: Preeti U Murthy <preeti@linux.vnet.ibm.com>
Signed-off-by: Peter Zijlstra <peterz@infradead.org>
Link: http://lkml.kernel.org/r/20131118113701.GF3866@twins.programming.kicks-ass.net
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'kernel/sched/cpupri.h')
0 files changed, 0 insertions, 0 deletions