mbox series

[net,0/2] net: phy: Unbind fixes

Message ID 20200917034310.2360488-1-f.fainelli@gmail.com
Headers show
Series net: phy: Unbind fixes | expand

Message

Florian Fainelli Sept. 17, 2020, 3:43 a.m. UTC
This patch series fixes a couple of issues with the unbinding of the PHY
drivers and then bringing down a network interface. The first is a NULL
pointer de-reference and the second was an incorrect warning being
triggered.

Florian Fainelli (2):
  net: phy: Avoid NPD upon phy_detach() when driver is unbound
  net: phy: Do not warn in phy_stop() on PHY_DOWN

 drivers/net/phy/phy.c        | 2 +-
 drivers/net/phy/phy_device.c | 3 ++-
 2 files changed, 3 insertions(+), 2 deletions(-)

Comments

David Miller Sept. 17, 2020, 11:56 p.m. UTC | #1
From: Florian Fainelli <f.fainelli@gmail.com>
Date: Wed, 16 Sep 2020 20:43:08 -0700

> This patch series fixes a couple of issues with the unbinding of the PHY
> drivers and then bringing down a network interface. The first is a NULL
> pointer de-reference and the second was an incorrect warning being
> triggered.

Series applied and queued up for -stable, thanks.