summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/qlogic
diff options
context:
space:
mode:
authorAaro Koskinen <aaro.koskinen@nokia.com>2019-03-14 21:43:20 +0200
committerDavid S. Miller <davem@davemloft.net>2019-03-15 11:38:57 -0700
commit58f2ce6f61615dfd8dd3cc01c9e5bb54ed35637e (patch)
tree64227242a951aa1e52ea07e9f9fb98cde1e8daf3 /drivers/net/ethernet/qlogic
parent80acbed9f8fca1db3fbe915540b756f048aa0fd7 (diff)
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')
0 files changed, 0 insertions, 0 deletions