1. 22 8月, 2013 22 次提交
  2. 21 8月, 2013 12 次提交
  3. 23 7月, 2013 1 次提交
  4. 05 7月, 2013 1 次提交
    • B
      sfc: Fix memory leak when discarding scattered packets · 734d4e15
      Ben Hutchings 提交于
      Commit 2768935a ('sfc: reuse pages to avoid DMA mapping/unmapping
      costs') did not fully take account of DMA scattering which was
      introduced immediately before.  If a received packet is invalid and
      must be discarded, we only drop a reference to the first buffer's
      page, but we need to drop a reference for each buffer the packet
      used.
      
      I think this bug was missed partly because efx_recycle_rx_buffers()
      was not renamed and so no longer does what its name says.  It does not
      change the state of buffers, but only prepares the underlying pages
      for recycling.  Rename it accordingly.
      Signed-off-by: NBen Hutchings <bhutchings@solarflare.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      734d4e15
  5. 25 6月, 2013 4 次提交