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:25:51 +0000 (11:25 -0800)
commit6b4938efb10a801e8ca99926ccd18d095b8cd7dc
tree27e04afa25667e83ae6b8a3126b83ac2c2de8dd7
parent7d13e7ca778f21f3a97f6210c02988155b8df189
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