Re: [PROBLEM]: potential unaligned memory access in drivers/usb/gadget/rndis.c

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux