03 Dec, 2006
40 commits
-
Signed-off-by: Al Viro
Signed-off-by: David S. Miller -
Signed-off-by: Al Viro
Signed-off-by: David S. Miller -
* sanitize prototypes, annotate
* kill csum_partial_copy_fromuser
* kill csum_partial_copy
* kill useless shifts
* usual ntohs->shiftSigned-off-by: Al Viro
Signed-off-by: David S. Miller -
* sanitize prototypes, annotate
* kill useless shiftSigned-off-by: Al Viro
Signed-off-by: David S. Miller -
* sanitize prototypes, annotate
* kill bogus access_ok() in csum_partial_copy_from_user (the only caller checks)
* kill useless shiftSigned-off-by: Al Viro
Signed-off-by: David S. Miller -
* sanitize prototypes, annotate
* kill useless shifts
* usual ntohs->shiftSigned-off-by: Al Viro
Signed-off-by: David S. Miller -
* sanitize prototypes, annotate
* kill useless shiftsSigned-off-by: Al Viro
Signed-off-by: David S. Miller -
* sanitize prototypes, annotate
* kill useless shiftsSigned-off-by: Al Viro
Signed-off-by: David S. Miller -
* sanitize prototypes, annotate
* usual ntohs->shiftSigned-off-by: Al Viro
Signed-off-by: David S. Miller -
* sanitize prototypes, annotate
* kill useless shifts
* kill useless ntohs (it's big-endian, for fsck sake!)Signed-off-by: Al Viro
Signed-off-by: David S. Miller -
* sanitize prototypes, annotate
* kill csum_partial_copySigned-off-by: Al Viro
Signed-off-by: David S. Miller -
* sanitize prototypes, annotate
* kill csum_partial_copy
* usual ntohs->shift, this time in assembler partSigned-off-by: Al Viro
Signed-off-by: David S. Miller -
* sanitize prototypes, annotate
* usual ntohs->shiftSigned-off-by: Al Viro
Signed-off-by: David S. Miller -
* sanitize prototypes, annotate
* collapse csum_partial_copy
* usual ntohs->shiftSigned-off-by: Al Viro
Signed-off-by: David S. Miller -
* sanitize prototypes, annotate
* kill csum_partial_copy_fromuser
* kill shift-by-16 in checksum calculations
* ntohs->shift in checksum calculationsSigned-off-by: Al Viro
Signed-off-by: David S. Miller -
* sanitize prototypes, annotate
* collapse csum_partial_copy
* kill csum_partial_copy_fromuser
* ntohs->shift in checksum calculationSigned-off-by: Al Viro
Signed-off-by: David S. Miller -
* sanitized prototypes, annotated
* kill shift-by-16 in checksum calculationSigned-off-by: Al Viro
Signed-off-by: David S. Miller -
* sanitize prototypes, annotate
* kill shift-by-16 in checksum calculations
* htons->shift in l-e checksum calculationsSigned-off-by: Al Viro
Signed-off-by: David S. Miller -
* sanitize prototypes, annotated
* collapsed csum_partial_copy()Signed-off-by: Al Viro
Signed-off-by: David S. Miller -
* sanitize prototypes, annotate
Signed-off-by: Al Viro
Signed-off-by: David S. Miller -
* sanitize prototypes, annotate
* ntohs -> shift in checksum calculations in l-e case
* kill shift-by-16 in checksum calculationsSigned-off-by: Al Viro
Signed-off-by: David S. Miller -
* sanitize prototypes, annotate
* ntohs -> shift in checksum calculations
* kill access_ok() in csum_partial_copy_from_user
* collapse do_csum_partial_copy_from_userSigned-off-by: Al Viro
Signed-off-by: David S. Miller -
* sanitize prototypes and annotate
* collapse csum_partial_copyNB: csum_partial() is almost certainly still buggy.
Signed-off-by: Al Viro
Signed-off-by: David S. Miller -
* sanitize prototypes and annotate
* collapse csum_partial_copySigned-off-by: Al Viro
Signed-off-by: David S. Miller -
* sanitize prototypes and annotate
* kill cast-as-lvalue abuses in csum_partial()
* usual ntohs-equals-shift for checksum purposesSigned-off-by: Al Viro
Signed-off-by: David S. Miller -
* sanitize prototypes and annotate
* kill useless access_ok() in csum_partial_copy_from_user() (the only
caller checks it already).
* do_csum_partial_copy_from_user() is not needed now
* replace htons(len) with len << 8 - they are the same wrt checksums
on little-endian.Signed-off-by: Al Viro
Signed-off-by: David S. Miller -
New types - for 16bit checksums and "unfolded" 32bit variant.
Signed-off-by: Al Viro
Signed-off-by: David S. Miller -
Signed-off-by: Al Viro
Signed-off-by: David S. Miller -
Signed-off-by: Al Viro
Signed-off-by: David S. Miller -
Signed-off-by: Al Viro
Signed-off-by: David S. Miller -
Signed-off-by: Al Viro
Signed-off-by: David S. Miller -
Signed-off-by: Al Viro
Signed-off-by: David S. Miller -
Signed-off-by: Al Viro
Signed-off-by: David S. Miller -
Signed-off-by: Al Viro
Signed-off-by: David S. Miller -
Signed-off-by: Al Viro
Signed-off-by: David S. Miller -
Signed-off-by: Al Viro
Signed-off-by: David S. Miller -
Signed-off-by: Al Viro
Signed-off-by: David S. Miller -
Signed-off-by: Al Viro
Signed-off-by: David S. Miller -
Signed-off-by: Al Viro
Signed-off-by: David S. Miller -
Signed-off-by: David S. Miller