From: Tejun Heo Date: Mon, 21 Nov 2011 20:32:26 +0000 (-0800) Subject: freezer: use lock_task_sighand() in fake_signal_wake_up() X-Git-Tag: v3.3-rc1~148^2~24^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=37ad8aca94a1da2112a7c56151390914e80d1113;p=pandora-kernel.git freezer: use lock_task_sighand() in fake_signal_wake_up() cgroup_freezer calls freeze_task() without holding tasklist_lock and, if the task is exiting, its ->sighand may be gone by the time fake_signal_wake_up() is called. Use lock_task_sighand() instead of accessing ->sighand directly. Signed-off-by: Tejun Heo Reported-by: Oleg Nesterov Acked-by: Oleg Nesterov Cc: "Rafael J. Wysocki" Cc: Paul Menage --- Reading git-diff-tree failed