]> git.proxmox.com Git - mirror_ubuntu-eoan-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)
commitd461873272169a3fc3a8d155d7b1c92e9d97b419
tree6c2831b545a1c90aff7e09aa8bc92f649ce9196c
parent47b356e499f26d330ab6ae4019e8c05f994be62d
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: 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>
drivers/net/ethernet/synopsys/dwc_eth_qos.c