[MIPS] Fix 64-bit IP checksum code
authorAtsushi Nemoto <anemo@mba.ocn.ne.jp>
Sat, 20 Sep 2008 15:20:04 +0000 (17:20 +0200)
committerRalf Baechle <ralf@linux-mips.org>
Sun, 21 Sep 2008 12:52:56 +0000 (14:52 +0200)
commitb80a1b80818cd83c6c2109081b43551e7af72c84
treec643aa44d3d85835e469499c578a3f36e36135d4
parent9824b8f11373b0df806c135a342da9319ef1d893
[MIPS] Fix 64-bit IP checksum code

Use unsigned loads to avoid possible misscalculation of IP checksums.  This
bug was instruced in f761106cd728bcf65b7fe161b10221ee00cf7132 (lmo) /
ed99e2bc1dc5dc54eb5a019f4975562dbef20103 (kernel.org).

[Original fix by Atsushi.  Improved instruction scheduling and fix for
unaligned unsigned load by me -- Ralf]

Signed-off-by: Atsushi Nemoto <anemo@mba.ocn.ne.jp>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/lib/csum_partial.S