diff options
author | 2006-08-13 23:24:23 -0700 | |
---|---|---|
committer | 2006-08-14 12:54:29 -0700 | |
commit | 6997a6faaa129a1c91775f7344c8d371a05178ea (patch) | |
tree | d1dbf57afc7d561620ad1b192ae031fd234b085a /crypto/algapi.c | |
parent | [PATCH] Change panic_on_oops message to "Fatal exception" (diff) | |
download | linux-rng-6997a6faaa129a1c91775f7344c8d371a05178ea.tar.xz linux-rng-6997a6faaa129a1c91775f7344c8d371a05178ea.zip |
[PATCH] sys_getppid oopses on debug kernel
sys_getppid() optimization can access a freed memory. On kernels with
DEBUG_SLAB turned ON, this results in Oops. As Dave Hansen noted, this
optimization is also unsafe for memory hotplug.
So this patch always takes the lock to be safe.
[oleg@tv-sign.ru: simplifications]
Signed-off-by: Kirill Korotaev <dev@openvz.org>
Cc: <stable@kernel.org>
Cc: Dave Hansen <haveblue@us.ibm.com>
Signed-off-by: Oleg Nesterov <oleg@tv-sign.ru>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'crypto/algapi.c')
0 files changed, 0 insertions, 0 deletions