[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.021 / U:38.904 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site