Re: [PATCH 2/2] net: stmmac: fix jumbo frame sending with non-linear skbs

From: David Miller
Date: Fri Mar 15 2019 - 14:39:28 EST


From: Aaro Koskinen <aaro.koskinen@xxxxxx>
Date: Thu, 14 Mar 2019 21:43:20 +0200

> From: Aaro Koskinen <aaro.koskinen@xxxxxxxxx>
>
> 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@xxxxxxxxx>

Applied.