From: Jiri Bohac Date: Wed, 2 Sep 2009 09:00:46 +0000 (+0200) Subject: fix csum_ipv6_magic() X-Git-Tag: v2.6.27.42~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=89af7ec4eabe69cfe47d3975668d43d94d24f6c9;p=pandora-kernel.git fix csum_ipv6_magic() commit 5afe18d2f58812f3924edbd215464e5e3e8545e7 upstream. The 32-bit parameters (len and csum) of csum_ipv6_magic() are passed in 64-bit registers in2 and in4. The high order 32 bits of the registers were never cleared, and garbage was sometimes calculated into the checksum. Fix this by clearing the high order 32 bits of these registers. Signed-off-by: Jiri Bohac Signed-off-by: Tony Luck Cc: Dennis Schridde Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed