Re: [PATCH] net: stmmac: fix a possible endless loop

From: David Miller
Date: Thu Feb 06 2020 - 08:37:59 EST


From: Vinod Koul <vkoul@xxxxxxxxxx>
Date: Thu, 6 Feb 2020 19:05:54 +0530

> On 06-02-20, 21:21, Dejin Zheng wrote:
>> It forgot to reduce the value of the variable retry in a while loop
>> in the ethqos_configure() function. It may cause an endless loop and
>> without timeout.
>
> Thanks for the fix.
>
> Acked-by: Vinod Koul <vkoul@xxxxxxxxxx>
>
> We should add:
> Fixes: a7c30e62d4b8 ("net: stmmac: Add driver for Qualcomm ethqos")
>
> Also, I think this should be CCed stable

Networking patches do not CC: stable, I queued them up myself manually.

Please read the netdev FAQ under Documentation/ for details.