Revision ae5de0ff0bc24664a053109c6caa782ba2ad7c53 authored by David S. Miller on 05 June 2006, 04:32:01 UTC, committed by David S. Miller on 05 June 2006, 04:32:01 UTC
Both csum_partial() and the csum_partial_copy*() family of routines forget to do a final fold on the computed checksum value on sparc64. So do the standard Sparc "add + set condition codes, add carry" sequence, then make sure the high 32-bits of the return value are clear. Based upon some excellent detective work and debugging done by Richard Braun and Samuel Thibault. Signed-off-by: David S. Miller <davem@davemloft.net>
1 parent 672c610
File | Mode | Size |
---|---|---|
Makefile | -rw-r--r-- | 596 bytes |
infblock.c | -rw-r--r-- | 10.4 KB |
infblock.h | -rw-r--r-- | 1.3 KB |
infcodes.c | -rw-r--r-- | 5.3 KB |
infcodes.h | -rw-r--r-- | 825 bytes |
inffast.c | -rw-r--r-- | 5.1 KB |
inffast.h | -rw-r--r-- | 489 bytes |
inflate.c | -rw-r--r-- | 5.9 KB |
inflate_syms.c | -rw-r--r-- | 448 bytes |
inflate_sync.c | -rw-r--r-- | 4.1 KB |
inftrees.c | -rw-r--r-- | 14.6 KB |
inftrees.h | -rw-r--r-- | 2.7 KB |
infutil.c | -rw-r--r-- | 1.9 KB |
infutil.h | -rw-r--r-- | 7.0 KB |
Computing file changes ...