diff options
| author | Ivan Kokshaysky <[email protected]> | 2007-06-23 17:16:35 -0700 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2007-06-24 08:59:11 -0700 |
| commit | 58ed2f9c75b719da4f494f24ed2d56d45f5b4959 (patch) | |
| tree | 6ecb60cf2d7b18da36fd29f2a6bd03d15a8cfefb /include/linux/debugobjects.h | |
| parent | 653d4876b730fedca8473481863cf700245e3582 (diff) | |
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 <[email protected]>
Cc: Richard Henderson <[email protected]>
Cc: Dustin Marquess <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions