Thread (1 message) 1 message, 1 author, 2007-06-16

Re: [Bugme-new] [Bug 8635] New: EV6 version of csum_ipv6_magic causing unaligned access errors

From: Ivan Kokshaysky <hidden>
Date: 2007-06-16 17:03:51

On Sat, Jun 16, 2007 at 12:06:20AM -0700, Andrew Morton wrote:
quoted
kernel unaligned acc    : 34 (pc=fffffc00004bbf58,va=fffffc000394811c)

fffffc00004bbdb0 T __copy_user
fffffc00004bbf50 T csum_ipv6_magic
fffffc00004bc020 T memchr

Seems to be associated w/ arch/alpha/lib/ev6-csum_ipv6_magic.S

Steps to reproduce:

Use IPv6 on an Alpha EV6 or higher CPU.
I assume that networking passed the arch an unaligned pointer and the arch
didn't expect that.

I further assume that this is an alpha shortcoming, and that this behaviour
of networking is expected?
Indeed, it's alpha bug. The struct in6_addr passed to this routine has
4 byte alignment, so we cannot use normal 64 bit loads.

Hopefully I'll have a fix shortly. BTW, it's not only ev6, ev5 variant
is broken as well.

Ivan.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help