linux/arch/ia64
Chen, Kenneth W 6dbfc19b7e [IA64] tidy up return value of ip_fast_csum
While working on implementing csum_ipv6_magic, I noticed that current
version of ip_fast_csum will potentially return bits above "unsigned
short" as 1.  While no harm is done right now because all call sites
will chop off the upper bits when it uses the return value.  However,
this is still dangerous and buggy.  Here is a patch to enforce that the
function really returns unsigned short in the native register format.

The fix is free as there are plenty open slot to add one more asm instruction.

Signed-off-by: Ken Chen <kenneth.w.chen@intel.com>
Signed-off-by: Tony Luck <tony.luck@intel.com>
2006-12-07 11:19:59 -08:00
..
configs [IA64] update sn2_defconfig 2006-10-17 14:55:45 -07:00
dig
hp WorkQueue: Fix up arch-specific work items where possible 2006-12-05 19:36:26 +00:00
ia32 [PATCH] VFS: Make filldir_t and struct kstat deal in 64-bit inode numbers 2006-10-03 08:03:40 -07:00
kernel [IA64] More Itanium PAL spec updates 2006-12-07 11:10:16 -08:00
lib [IA64] tidy up return value of ip_fast_csum 2006-12-07 11:19:59 -08:00
mm [PATCH] hugetlb: prepare_hugepage_range check offset too 2006-11-14 09:09:27 -08:00
oprofile
pci [IA64] Fix pci.c kernel compilation breakage. 2006-12-06 14:13:38 -08:00
scripts
sn [IA64] SN: Correctly update smp_affinty mask 2006-12-07 10:50:09 -08:00
defconfig
install.sh
Kconfig [IA64] IA64 Kexec/kdump 2006-12-07 09:51:35 -08:00
Kconfig.debug
Makefile
module.lds