[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20071022.013105.74746322.davem@davemloft.net>
Date: Mon, 22 Oct 2007 01:31:05 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: drzeus@...eus.cx
Cc: netdev@...r.kernel.org
Subject: Re: net: alignment problem in icmp code
From: Pierre Ossman <drzeus@...eus.cx>
Date: Mon, 22 Oct 2007 09:23:50 +0200
> As for other instances of unaligned accesses, is there any active
> work on getting rid of those? And would you accept more patches for
> fixing them? (Code complexity being the downside)
On fast paths we aren't going to add things like get_unaligned()
calls.
Every architecture should handle unaligned accesses properly, and for
the fast paths the network driver should provide the packet fully
aligned or take steps to make it so if it can't DMA directly into
2-byte offset buffers (such as copying the packet).
What is the specific reason why you see packet headers unaligned?
It's probably just some AVR networking driver that needs tweaks.
-
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists