]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
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)
commit3c01352db3868aab6c6e6402c2cfb781f7755504
treeac5bd06eed05aec7bba4c49ba55aaaf32a8e39e9
parent2c6221e4a5aab417cb18bef6f1130d1374240258
parent021f1107ffdae7a82af6c53f4c52654062e365c6
Merge branch 'mlx4'

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>