summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/marvell/mv643xx_eth.c
diff options
context:
space:
mode:
authorEzequiel Garcia <ezequiel.garcia@free-electrons.com>2014-05-30 18:40:07 +0200
committerDavid S. Miller <davem@davemloft.net>2014-06-03 01:16:05 +0200
commit2e3173a3d38bbb5e29a6a734e7366855c12efbe9 (patch)
tree7a13e38888596dbceb401a7fae2a87481426fa39 /drivers/net/ethernet/marvell/mv643xx_eth.c
parentnet: mvneta: Fix missing DMA region unmap (diff)
downloadlinux-2e3173a3d38bbb5e29a6a734e7366855c12efbe9.tar.xz
linux-2e3173a3d38bbb5e29a6a734e7366855c12efbe9.zip
net: mvneta: Avoid unmapping the TSO header buffers
The buffers for the TSO headers belong to a DMA coherent region which is allocated at ndo_open() time, and released at ndo_stop() time. Therefore, and contrary to the TSO payload descriptor buffers, the TSO header buffers don't need to be unmapped. This commit adds a check to detect a TSO header buffer and explicitly prevent the unmap. Signed-off-by: Ezequiel Garcia <ezequiel.garcia@free-electrons.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/marvell/mv643xx_eth.c')
0 files changed, 0 insertions, 0 deletions