aboutsummaryrefslogtreecommitdiffstats
path: root/security/selinux/hooks.c
diff options
context:
space:
mode:
authorDavid S. Miller <[email protected]>2006-06-05 04:32:01 +0000
committerDavid S. Miller <[email protected]>2006-06-05 04:32:01 +0000
commitae5de0ff0bc24664a053109c6caa782ba2ad7c53 (patch)
treed1362b5cf494f2495d318f6ca6eccd79aae77997 /security/selinux/hooks.c
parentMerge master.kernel.org:/pub/scm/linux/kernel/git/jejb/scsi-rc-fixes-2.6 (diff)
downloadkernel-ae5de0ff0bc24664a053109c6caa782ba2ad7c53.tar.gz
kernel-ae5de0ff0bc24664a053109c6caa782ba2ad7c53.zip
[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 <[email protected]>
Diffstat (limited to 'security/selinux/hooks.c')
0 files changed, 0 insertions, 0 deletions