[lkml]   [2009]   [Mar]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [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.

 \ /
  Last update: 2009-03-16 09:41    [W:0.114 / U:1.412 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site