diff options
author | 2009-01-18 18:17:20 +0100 | |
---|---|---|
committer | 2009-01-28 15:49:05 -0800 | |
commit | 1176e83aff6f15b6ae4d1b53c16124884ad29363 (patch) | |
tree | cc808cf2a4f9b6306277bab178f3f055d54765a6 /include/linux/kernel.h | |
parent | Staging: android: Add lowmemorykiller documentation. (diff) | |
download | wireguard-linux-1176e83aff6f15b6ae4d1b53c16124884ad29363.tar.xz wireguard-linux-1176e83aff6f15b6ae4d1b53c16124884ad29363.zip |
Staging: android: task_get_unused_fd_flags: fix the wrong usage of tsk->signal
Compile tested.
task_struct->signal is not protected by RCU, the code is bogus.
Change the code to take ->siglock to pin ->signal.
Signed-off-by: Oleg Nesterov <oleg@redhat.com>
Cc: Arve Hjønnevåg <arve@android.com>
Cc: Brian Swetland <swetland@google.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'include/linux/kernel.h')
0 files changed, 0 insertions, 0 deletions