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

From: Jose Abreu
Date: Fri Mar 15 2019 - 05:50:22 EST


On 3/14/2019 7:43 PM, Aaro Koskinen wrote:
> 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>

Acked-by: Jose Abreu <joabreu@xxxxxxxxxxxx>

Thanks,
Jose Miguel Abreu