diff options
author | David Miller <davem@davemloft.net> | 2006-06-05 11:27:10 -0700 |
---|---|---|
committer | Chris Wright <chrisw@sous-sol.org> | 2006-06-22 12:16:11 -0700 |
commit | 9d8e2ed7c51a756c8b6534af4fb82c406cfe0741 (patch) | |
tree | 0f51d44b82747c13f556fd02f27ac0cb8f39564c /fs | |
parent | af948395f08691edd731bac85c1f4c334bd312ec (diff) | |
download | kernel-common-9d8e2ed7c51a756c8b6534af4fb82c406cfe0741.tar.gz kernel-common-9d8e2ed7c51a756c8b6534af4fb82c406cfe0741.tar.bz2 kernel-common-9d8e2ed7c51a756c8b6534af4fb82c406cfe0741.zip |
[PATCH] SPARC64: Fix missing fold at end of checksums.
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>
Signed-off-by: Chris Wright <chrisw@sous-sol.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'fs')
0 files changed, 0 insertions, 0 deletions