Re: [PATCH] net: cadence: macb: disable NAPI on error

From: David Miller
Date: Wed Jun 10 2020 - 19:22:41 EST


From: Corentin Labbe <clabbe@xxxxxxxxxxxx>
Date: Wed, 10 Jun 2020 09:53:44 +0000

> When the PHY is not working, the macb driver crash on a second try to
> setup it.
> [ 78.545994] macb e000b000.ethernet eth0: Could not attach PHY (-19)
...
> This is due to NAPI left enabled if macb_phylink_connect() fail.
>
> Fixes: 7897b071ac3b ("net: macb: convert to phylink")
> Signed-off-by: Corentin Labbe <clabbe@xxxxxxxxxxxx>

Applied and queued up for v5.5+ -stable, thanks.