summaryrefslogtreecommitdiff
path: root/kernel/rtmutex-tester.c
diff options
context:
space:
mode:
authorTejun Heo <tj@kernel.org>2011-11-21 20:32:26 (GMT)
committerTejun Heo <tj@kernel.org>2011-11-21 20:32:26 (GMT)
commit37ad8aca94a1da2112a7c56151390914e80d1113 (patch)
treedaf5f8956aa7fa7b8d3e15aaf67dd3d6fc6f2375 /kernel/rtmutex-tester.c
parent5ece3eae4cdb968c269e0bc7e2c0e2b223552025 (diff)
downloadlinux-37ad8aca94a1da2112a7c56151390914e80d1113.tar.xz
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>
Diffstat (limited to 'kernel/rtmutex-tester.c')
0 files changed, 0 insertions, 0 deletions