dwc_eth_qos: Fix dma address for multi-fragment skbs
authorLars Persson <lars.persson@axis.com>
Tue, 12 Jan 2016 14:28:13 +0000 (15:28 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 31 Jan 2016 19:29:00 +0000 (11:29 -0800)
commitca0f94da27314276153d38ea02f514348515bf87
tree7ed4bbb78a91626c53740bb81341d943590a528e
parent1338c946e62d36572284d770d2454566fe11fdb9
dwc_eth_qos: Fix dma address for multi-fragment skbs

[ Upstream commit d461873272169a3fc3a8d155d7b1c92e9d97b419 ]

The offset inside the fragment was not used for the dma address and
silent data corruption resulted because TSO makes the checksum match.

Fixes: 077742dac2c7 ("dwc_eth_qos: Add support for Synopsys DWC Ethernet QoS")
Signed-off-by: Lars Persson <larper@axis.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/net/ethernet/synopsys/dwc_eth_qos.c