From: Ivan Kokshaysky Date: Sun, 24 Jun 2007 00:16:35 +0000 (-0700) Subject: alpha: fix alignment problem in csum_ipv6_magic() X-Git-Tag: v2.6.22-rc6~16 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=58ed2f9c75b719da4f494f24ed2d56d45f5b4959;p=pandora-kernel.git 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 Cc: Richard Henderson Cc: Dustin Marquess Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed