[PATCH] alpha: csum_partial_copy bug

From: Herbert Xu (herbert@gondor.apana.org.au)
Date: Wed Jul 26 2000 - 07:02:57 EST


There is a bug in csum_partial_cfu_src_aligned where if len is a multiple of
8, an extra quadword would be read from src, which would break when that
happens to cross a page boundary.

The following patch fixes this. It also removes the len & 7 check from
csum_partial_cfu_unaligned since if len < 0, we can deduce that -7 < len < -1
so the check will always succeed.

-- 
Debian GNU/Linux 2.1 is out! ( http://www.debian.org/ )
Email:  Herbert Xu ~{PmV>HI~} <herbert@gondor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt


- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Mon Jul 31 2000 - 21:00:21 EST