diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2010-02-06 01:16:50 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2010-02-06 22:00:37 +0100 |
commit | 6f5a55f1a6c5abee15a0e878e5c74d9f1569b8b0 (patch) | |
tree | 2b5304a71a3b2ef2f0665e4e2d9262c6c6918848 /.mailmap | |
parent | Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tiw... (diff) | |
download | linux-6f5a55f1a6c5abee15a0e878e5c74d9f1569b8b0.tar.xz linux-6f5a55f1a6c5abee15a0e878e5c74d9f1569b8b0.zip |
Fix potential crash with sys_move_pages
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>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions