Messages in this thread | | | Date | Wed, 02 Jun 1999 13:27:04 +0200 | From | Artur Skawina <> | Subject | Re: Checksum on Alpha |
| |
Bharadwaj Yadavalli wrote: > > Can somebody kindly explain me why the implementation of > csum_partial_copy_from_user() > in linux/arch/alpha/lib/csum_partial_copy.c returns a 16-bit > checksum whereas its x86 > counterpart in linux/linux/arch/i386/lib/checksum.S returns > 32-bit checksum?
it's only a partial checksum - the checksum can be computed from multiples of 16 bits, which then have to be added together to get the final value. see csum_fold() and rfc1071.
- 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/
| |