Searched hist:"37 ad8aca94a1da2112a7c56151390914e80d1113" (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/kernel/ |
H A D | freezer.c | diff 37ad8aca94a1da2112a7c56151390914e80d1113 Mon Nov 21 14:32:26 CST 2011 Tejun Heo <tj@kernel.org> 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 <tj@kernel.org> Reported-by: Oleg Nesterov <oleg@redhat.com> Acked-by: Oleg Nesterov <oleg@redhat.com> Cc: "Rafael J. Wysocki" <rjw@sisk.pl> Cc: Paul Menage <paul@paulmenage.org>
|