kernel-ark/arch/ia64/lib
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
..
carta_random.S Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
checksum.c [NET]: IA64 checksum annotations and cleanups. 2006-12-02 21:23:05 -08:00
clear_page.S Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
clear_user.S Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
copy_page_mck.S Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
copy_page.S Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
copy_user.S Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
csum_partial_copy.c [NET]: IA64 checksum annotations and cleanups. 2006-12-02 21:23:05 -08:00
do_csum.S Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
flush.S [PATCH] Kprobes: prevent possible race conditions ia64 changes 2005-09-07 16:58:00 -07:00
idiv32.S Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
idiv64.S Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
io.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
ip_fast_csum.S [IA64] tidy up return value of ip_fast_csum 2006-12-07 11:19:59 -08:00
Makefile [PATCH] Fix RAID5 + IA64 compile 2006-08-03 10:04:27 -07:00
memcpy_mck.S Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
memcpy.S Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
memset.S [IA64] fix typos caught by new assembler 2005-05-03 10:56:42 -07:00
strlen_user.S Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
strlen.S Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
strncpy_from_user.S Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
strnlen_user.S Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
xor.S Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00