[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20170903.201923.1025438565183602962.davem@davemloft.net>
Date: Sun, 03 Sep 2017 20:19:23 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: f.fainelli@...il.com
Cc: netdev@...r.kernel.org, andrew@...n.ch,
vivien.didelot@...oirfairelinux.com, linux-kernel@...r.kernel.org
Subject: Re: [PATCH net] net: dsa: loop: Do not unregister invalid fixed PHY
From: Florian Fainelli <f.fainelli@...il.com>
Date: Sat, 2 Sep 2017 08:56:45 -0700
> During error injection it was possible to crash in dsa_loop_exit() because of
> an attempt to unregister an invalid PHY. We actually want to the driver probing
> in dsa_loop_init() even though fixed_phy_register() may return an error to
> exercise how DSA deals with such cases, but we should not be crashing during
> driver removal.
>
> Fixes: 98cd1552ea27 ("net: dsa: Mock-up driver")
> Signed-off-by: Florian Fainelli <f.fainelli@...il.com>
Applied and queued up for -stable, thanks.
Powered by blists - more mailing lists