[IA64] fix csum_ipv6_magic()
authorJiri Bohac <jbohac@suse.cz>
Wed, 2 Sep 2009 09:00:46 +0000 (11:00 +0200)
committerTony Luck <tony.luck@intel.com>
Wed, 2 Sep 2009 16:14:48 +0000 (09:14 -0700)
commit5afe18d2f58812f3924edbd215464e5e3e8545e7
tree52d2b9272cce5b3343317c56ba408dd3c28d4331
parentf2486f26692433ba27cc10991a085b503b0422a3
[IA64] fix csum_ipv6_magic()

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 <jbohac@suse.cz>
Signed-off-by: Tony Luck <tony.luck@intel.com>
arch/ia64/lib/ip_fast_csum.S