diff options
author | Mandeep Singh Baines <msb@google.com> | 2009-01-17 19:31:48 +0100 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-01-18 19:20:17 +0100 |
commit | 603a148f434742fff08273207ffa44176cad13a1 (patch) | |
tree | e0c051efd07a7b51390e13169f4c78a29c676fc1 /crypto | |
parent | softlockup: fix to allow compiling with !DETECT_HUNG_TASK (diff) | |
download | linux-603a148f434742fff08273207ffa44176cad13a1.tar.xz linux-603a148f434742fff08273207ffa44176cad13a1.zip |
softlockup: fix potential race in hung_task when resetting timeout
Impact: fix potential false panic
A potential race exists if sysctl_hung_task_timeout_secs is reset to 0
while inside check_hung_uniterruptible_tasks(). If check_task() is
entered, a comparison with 0 will result in a false hung_task being
detected.
If sysctl_hung_task_panic is set, the system will panic.
Signed-off-by: Mandeep Singh Baines <msb@google.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'crypto')
0 files changed, 0 insertions, 0 deletions