]> git.baikalelectronics.ru Git - kernel.git/commit
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)
committerDavid S. Miller <davem@davemloft.net>
Tue, 12 Jan 2016 17:03:30 +0000 (12:03 -0500)
commitd877e3a825972cf8f44744db686245a2b15bde87
tree6c2831b545a1c90aff7e09aa8bc92f649ce9196c
parent67d5853db8ede7da54dd1db7f632984136c89885
dwc_eth_qos: Fix dma address for multi-fragment skbs

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

Fixes: 6f568632904a ("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>
drivers/net/ethernet/synopsys/dwc_eth_qos.c