diff options
author | Oleg Nesterov <oleg@redhat.com> | 2009-06-17 16:27:38 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2009-06-18 13:03:52 -0700 |
commit | 3b34fc5880a2dcc7e5ed9837ef8d6bae051ab266 (patch) | |
tree | 477b9a29135cc7b8815ce7ce19201bce371c56a1 /net/rose | |
parent | 72a1de39f89325a834a8c70b2a0d8f71d919f640 (diff) | |
download | linux-3.10-3b34fc5880a2dcc7e5ed9837ef8d6bae051ab266.tar.gz linux-3.10-3b34fc5880a2dcc7e5ed9837ef8d6bae051ab266.tar.bz2 linux-3.10-3b34fc5880a2dcc7e5ed9837ef8d6bae051ab266.zip |
elf_core_dump: use rcu_read_lock() to access ->real_parent
In theory it is not safe to dereference ->parent/real_parent without
tasklist or rcu lock, we can race with re-parenting.
Signed-off-by: Oleg Nesterov <oleg@redhat.com>
Acked-by: Roland McGrath <roland@redhat.com>
Cc: David Howells <dhowells@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'net/rose')
0 files changed, 0 insertions, 0 deletions