Files
linux/drivers/net/ethernet
Eric Dumazet 7a0e9a0864 net: bcmgenet: fix dma api length mismatch
[ Upstream commit eee5772322 ]

When un-mapping skb->data in __bcmgenet_tx_reclaim(),
we must use the length that was used in original dma_map_single(),
instead of skb->len that might be bigger (includes the frags)

We simply can store skb_len into tx_cb_ptr->dma_len and use it
at unmap time.

Fixes: 1c1008c793 ("net: bcmgenet: add main driver file")
Signed-off-by: Eric Dumazet <edumazet@google.com>
Acked-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2016-04-20 15:42:04 +09:00
..
2015-09-29 21:11:12 -07:00
2015-12-15 12:43:01 -05:00
2015-09-29 21:11:13 -07:00
2015-09-29 13:49:53 -07:00
2015-09-08 22:44:42 -07:00
2015-12-13 23:36:55 -05:00
2015-12-03 13:43:06 -08:00
2016-04-20 15:42:04 +09:00
2015-12-15 12:46:26 -05:00
2015-06-29 12:52:06 -07:00
2015-01-11 21:44:55 -05:00
2015-07-08 16:04:06 -07:00
2016-04-20 15:41:57 +09:00
2013-11-07 02:14:32 -05:00