]> git.baikalelectronics.ru Git - kernel.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)
commit1e86131ebb49969f35aa90c01bf3dfa906f6836e
treeac5bd06eed05aec7bba4c49ba55aaaf32a8e39e9
parent2e35785fe902a1d1534e22cc6ffa9e68d42ad59b
parentf71f1f81297b118c879882a814e3970b4f158beb
Merge branch 'mlx4'

Amir Vadai says:

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

This patchset fixes a bug introduced by commit 507240b4 (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>