Thread (3 messages) flat view 3 messages, 3 authors, 2017-09-04

Re: [PATCH net] net: dsa: loop: Do not unregister invalid fixed PHY

From: Andrew Lunn <andrew@lunn.ch>
Date: 2017-09-02 16:16:39
Also in: lkml

On Sat, Sep 02, 2017 at 08:56:45AM -0700, Florian Fainelli wrote:
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@gmail.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>

    Andrew
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help