On Sun, Nov 19, 2006 at 12:09:22PM -0500, Jeff Mahoney wrote: > > I would copy a relatively simple C implementation, like > > arch/h8300/lib/checksum.c > > As long as the h8300 version has the same output as the x86 version.
As the matter of fact, h8300 version is severely broken and no, it definitely does *not* give the same values. Not even guaranteed to be the same mod 0xffff is some cases, which is very much not OK for networking uses. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/