diff options
author | Aaro Koskinen <aaro.koskinen@nokia.com> | 2019-03-14 22:43:20 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-03-15 21:38:57 +0300 |
commit | 58f2ce6f61615dfd8dd3cc01c9e5bb54ed35637e (patch) | |
tree | 64227242a951aa1e52ea07e9f9fb98cde1e8daf3 /drivers/net/ethernet/qlogic/qlcnic | |
parent | 80acbed9f8fca1db3fbe915540b756f048aa0fd7 (diff) | |
download | linux-58f2ce6f61615dfd8dd3cc01c9e5bb54ed35637e.tar.xz |
net: stmmac: fix jumbo frame sending with non-linear skbs
When sending non-linear skbs with jumbo frames, we set up the non-paged
data and mark that as a last segment, although the paged fragments are
also prepared. This will stall the TX queue and trigger a watchdog warning
(a simple reproducer is to run an iperf client mode TCP test with a large
MTU - networking fails instantly).
Fix by checking if the skb is non-linear.
Signed-off-by: Aaro Koskinen <aaro.koskinen@nokia.com>
Acked-by: Jose Abreu <joabreu@synopsys.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/qlogic/qlcnic')
0 files changed, 0 insertions, 0 deletions