https://github.com/torvalds/linux
Revision 6f5a55f1a6c5abee15a0e878e5c74d9f1569b8b0 authored by Linus Torvalds on 06 February 2010, 00:16:50 UTC, committed by Linus Torvalds on 06 February 2010, 21:00:37 UTC
We incorrectly depended on the 'node_state/node_isset()' functions
testing the node range, rather than checking it explicitly.  That's not
reliable, even if it might often happen to work.  So do the proper
explicit test.

Reported-by: Marcus Meissner <meissner@suse.de>
Acked-and-tested-by: Brice Goglin <Brice.Goglin@inria.fr>
Acked-by: Hugh Dickins <hugh.dickins@tiscali.co.uk>
Cc: stable@kernel.org
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
1 parent 9d9c3a5
History
Tip revision: 6f5a55f1a6c5abee15a0e878e5c74d9f1569b8b0 authored by Linus Torvalds on 06 February 2010, 00:16:50 UTC
Fix potential crash with sys_move_pages
Tip revision: 6f5a55f
File Mode Size
oss
seq
Kconfig -rw-r--r-- 5.9 KB
Makefile -rw-r--r-- 1007 bytes
control.c -rw-r--r-- 38.4 KB
control_compat.c -rw-r--r-- 11.3 KB
device.c -rw-r--r-- 6.5 KB
hrtimer.c -rw-r--r-- 4.0 KB
hwdep.c -rw-r--r-- 13.0 KB
hwdep_compat.c -rw-r--r-- 2.3 KB
info.c -rw-r--r-- 22.7 KB
info_oss.c -rw-r--r-- 3.9 KB
init.c -rw-r--r-- 23.6 KB
isadma.c -rw-r--r-- 3.0 KB
jack.c -rw-r--r-- 4.4 KB
memalloc.c -rw-r--r-- 13.4 KB
memory.c -rw-r--r-- 2.5 KB
misc.c -rw-r--r-- 3.3 KB
pcm.c -rw-r--r-- 31.5 KB
pcm_compat.c -rw-r--r-- 15.0 KB
pcm_lib.c -rw-r--r-- 57.0 KB
pcm_memory.c -rw-r--r-- 12.8 KB
pcm_misc.c -rw-r--r-- 11.9 KB
pcm_native.c -rw-r--r-- 92.1 KB
pcm_timer.c -rw-r--r-- 3.7 KB
rawmidi.c -rw-r--r-- 47.4 KB
rawmidi_compat.c -rw-r--r-- 3.5 KB
rtctimer.c -rw-r--r-- 4.1 KB
sgbuf.c -rw-r--r-- 3.5 KB
sound.c -rw-r--r-- 11.4 KB
sound_oss.c -rw-r--r-- 7.2 KB
timer.c -rw-r--r-- 50.6 KB
timer_compat.c -rw-r--r-- 3.5 KB
vmaster.c -rw-r--r-- 10.3 KB

back to top