1. 17 5月, 2014 1 次提交
    • F
      net: systemport: fix dma_unmap_single() len · b1ff53e9
      Florian Fainelli 提交于
      dma_unmap_single() was called with dma_unmap_len(cb, dma_len),
      unfortunately we failed to assign this length field in
      bcm_sysport_rx_refill() or bcm_sysport_alloc_rx_bufs() using
      dma_unmap_len_set().
      
      This causes packet contents corruption because are we not invoking the
      cache invalidation routines with the proper length.  Fix this by using
      the full RX buffer size (RX_BUF_LENGTH) because the mappings for the RX
      bufers are created with that size.
      Signed-off-by: NFlorian Fainelli <f.fainelli@gmail.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      b1ff53e9
  2. 16 5月, 2014 2 次提交
  3. 15 5月, 2014 1 次提交
  4. 14 5月, 2014 1 次提交
  5. 27 4月, 2014 1 次提交