1
0
Fork 0
alistair23-linux/arch/alpha
Ivan Kokshaysky 58ed2f9c75 alpha: fix alignment problem in csum_ipv6_magic()
Hopefully this fixes http://bugzilla.kernel.org/show_bug.cgi?id=8635

The struct in6_addr passed to csum_ipv6_magic() is 4 byte aligned, so we
can't use the regular 64-bit loads.  Since the cost of handling of 4 byte
and 1 byte aligned 64-bit data is roughly the same, this code can cope with
any src/dst [mis]alignment.

Signed-off-by: Ivan Kokshaysky <ink@jurassic.park.msu.ru>
Cc: Richard Henderson <rth@twiddle.net>
Cc: Dustin Marquess <jailbird@alcatraz.fdf.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2007-06-24 08:59:11 -07:00
..
boot parse errors in ifdefs 2007-06-01 08:18:28 -07:00
kernel ALPHA: support graphics on non-zero PCI domains 2007-06-01 08:18:29 -07:00
lib alpha: fix alignment problem in csum_ipv6_magic() 2007-06-24 08:59:11 -07:00
math-emu Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
mm header cleaning: don't include smp_lock.h when not used 2007-05-08 11:15:07 -07:00
oprofile [PATCH] oprofile: Fix unnecessary cleverness 2006-06-26 09:58:17 -07:00
Kconfig ALPHA: misc fixes 2007-06-01 08:18:29 -07:00
Kconfig.debug kconfig: centralize the selection of semaphore debugging in lib/Kconfig.debug 2007-05-08 11:15:00 -07:00
Makefile kbuild: alpha,x86_64 use generic asm-offsets.h support 2005-09-09 21:28:48 +02:00
defconfig [PATCH] update all defconfigs for ARCH_DISCONTIGMEM_ENABLE 2005-06-23 09:45:02 -07:00