On Mon, Oct 22, 2001 at 08:33:24PM +0900, Machida Hiroyuki wrote: > I found bugs in checksum.h. A sample fix is attached below. > > I perfer to use generic csum_ipv6_magic() in net/checksum.h > than this fix. Please someone show me improvements for this asm > version of csum_ipv6_magic(). The C version should produce code that performs identically on MIPS. As such we have no good reason to keep the assembler version. > * (csum_ipv6_magic): Have same paramter types as net/checksum.h. > Correct carry computation. Add a final carry. The len argument of that prototype should be __u32 because of IPv6 jumbograms. Ralf