[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <200903160138.32964.david-b@pacbell.net>
Date: Mon, 16 Mar 2009 01:38:32 -0700
From: David Brownell <david-b@...bell.net>
To: yann.poupet@...e.fr
Cc: Andrew Morton <akpm@...ux-foundation.org>,
linux-kernel@...r.kernel.org, linux-usb@...r.kernel.org,
Harvey Harrison <harvey.harrison@...il.com>,
netdev@...r.kernel.org
Subject: Re: [PROBLEM]: potential unaligned memory access in drivers/usb/gadget/rndis.c
On Wednesday 11 March 2009, Andrew Morton wrote:
>
> > It happened to me that skb_pull() returns a pointer to a
> > location not aligned on a 4 bytes boundary.
Does this arch set NET_IP_ALIGN appropriately?
If worst comes to worst, use put_unaligned() instead of
a static (non-const) template for that header.
--
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