1
0
Fork 0
alistair23-linux/drivers/net/ethernet/marvell
Ezequiel Garcia ba7e46ef9d net: mvneta: Fix missing DMA region unmap
The Tx descriptor release code currently calls dma_unmap_single() and
dev_kfree_skb_any() if the descriptor is associated with a non-NULL skb.
This is true only for the last fragment of the packet.

This is wrong, however, since every descriptor buffer is DMA mapped and needs
to be unmapped.

Signed-off-by: Ezequiel Garcia <ezequiel.garcia@free-electrons.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2014-06-02 16:16:05 -07:00
..
Kconfig net: ethernet: update dependency and help text of mvneta 2014-02-18 18:09:02 -05:00
Makefile mv643xx_eth: convert to use the Marvell Orion MDIO driver 2013-03-22 10:25:15 -04:00
mv643xx_eth.c net: mv643xx_eth: Simplify mv643xx_eth_adjust_link() 2014-05-23 15:31:48 -04:00
mvmdio.c net: mvmdio: Use devm_* API to simplify the code 2014-05-23 15:31:49 -04:00
mvneta.c net: mvneta: Fix missing DMA region unmap 2014-06-02 16:16:05 -07:00
pxa168_eth.c net: get rid of SET_ETHTOOL_OPS 2014-05-13 17:43:20 -04:00
skge.c skge: Call dev_kfree/consume_skb_any instead of dev_kfree_skb. 2014-03-24 21:19:05 -07:00
skge.h skge/sky2/mv643xx/pxa168: Move the Marvell Ethernet drivers 2011-08-12 00:21:51 -07:00
sky2.c net: get rid of SET_ETHTOOL_OPS 2014-05-13 17:43:20 -04:00
sky2.h sky2: Receive Overflows not counted 2013-03-29 14:53:19 -04:00