From: Greg Kroah-Hartman Date: Fri, 12 Feb 2010 04:40:05 +0000 (-0800) Subject: .27 fix X-Git-Tag: v2.6.32.9~17 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=ef3c2188e1ecad5c69bd5692bf867a2287976345;p=thirdparty%2Fkernel%2Fstable-queue.git .27 fix --- diff --git a/queue-2.6.27/fix-potential-crash-with-sys_move_pages.patch b/queue-2.6.27/fix-potential-crash-with-sys_move_pages.patch index d50a9ea58f5..a11a2b57f9b 100644 --- a/queue-2.6.27/fix-potential-crash-with-sys_move_pages.patch +++ b/queue-2.6.27/fix-potential-crash-with-sys_move_pages.patch @@ -29,7 +29,7 @@ Signed-off-by: Greg Kroah-Hartman err = -ENODEV; + if (node < 0 || node >= MAX_NUMNODES) -+ goto out_pm; ++ goto out; + if (!node_state(node, N_HIGH_MEMORY)) goto out;