summaryrefslogtreecommitdiff
path: root/mm/frontswap.c
diff options
context:
space:
mode:
authorPeter Zijlstra <peterz@infradead.org>2013-11-19 15:41:49 (GMT)
committerJiri Slaby <jslaby@suse.cz>2014-03-12 12:25:38 (GMT)
commita2198407845fa9d85b590eafafacf3b6a82d3528 (patch)
treedfd2e8780f9448a4496541c0ffc1a638502de8ba /mm/frontswap.c
parentec6317cc7e5e333acdfa2426c96d372bfc920077 (diff)
downloadlinux-fsl-qoriq-a2198407845fa9d85b590eafafacf3b6a82d3528.tar.xz
sched: Avoid NULL dereference on sd_busy
commit 42eb088ed246a5a817bb45a8b32fe234cf1c0f8b upstream. 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> Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Diffstat (limited to 'mm/frontswap.c')
0 files changed, 0 insertions, 0 deletions