From: minskey guo Date: Fri, 17 Sep 2010 06:03:27 +0000 (+0800) Subject: NULL pointer might be used in ips_monitor() X-Git-Tag: v2.6.36-rc8~14^2~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a7abda8d721359363d679c5f2de964f29419568c;p=pandora-kernel.git NULL pointer might be used in ips_monitor() The patch is to create ips_adjust thread before ips_monitor begins to run because the latter will kthread_stop() or wake up the former via ips->adjust pointer. Without this change, it is possible that ips->adjust is NULL when kthread_stop() or wake_up_process() is called in ips_monitor(). Signed-off-by: minskey guo Acked-by: Jesse Barnes Signed-off-by: Matthew Garrett --- Reading git-diff-tree failed