android_kernel_xiaomi_sm8350/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
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
copy_page_mck.S
copy_page.S
copy_user.S
csum_partial_copy.c [NET]: IA64 checksum annotations and cleanups. 2006-12-02 21:23:05 -08:00
do_csum.S
flush.S
idiv32.S
idiv64.S
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
memset.S
strlen_user.S
strlen.S
strncpy_from_user.S
strnlen_user.S
xor.S