]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
Merge branch 'mlx4'
authorDavid S. Miller <davem@davemloft.net>
Tue, 8 Oct 2013 20:10:10 +0000 (16:10 -0400)
committerDavid S. Miller <davem@davemloft.net>
Tue, 8 Oct 2013 20:10:10 +0000 (16:10 -0400)
Amir Vadai says:

====================
net/mlx4_en: Fix pages never dma unmapped on rx

This patchset fixes a bug introduced by commit 51151a16 (mlx4: allow order-0
memory allocations in RX path). Where dma_unmap_page wasn't called.

Changes from V0:
- Added "Rename name of mlx4_en_rx_alloc members". Old names were confusing.
- Last frag in page calculation was wrong. Since all frags in page are of the
  same size, need to add this frag_stride to end of frag offset, and not the
  size of next frag in skb.
====================

Signed-off-by: David S. Miller <davem@davemloft.net>

Trivial merge