[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20170218000734.32590-1-f.fainelli@gmail.com>
Date:   Fri, 17 Feb 2017 16:07:32 -0800
From:   Florian Fainelli <f.fainelli@...il.com>
To:     netdev@...r.kernel.org
Cc:     davem@...emloft.net, andrew@...n.ch, rmk+kernel@...linux.org.uk,
        Florian Fainelli <f.fainelli@...il.com>
Subject: [PATCH net 0/2] net: phy: Fix PHY unbind crash
Hi David,
This fixes crashes when the PHY driver is no longer bound to the device.
There is still a fair amount of work to be done to get the unbind -> bind
sequent to result in a functional state, but that will be net-next material.
These two problems existed for as long as PHYLIB as been around.
Thanks!
Florian Fainelli (2):
  net: phy: Fix PHY unbind crash
  net: phy: Check phydev->drv
 drivers/net/phy/phy.c        | 26 ++++++++++++++++++++++----
 drivers/net/phy/phy_device.c |  8 +++++---
 include/linux/phy.h          |  3 +++
 3 files changed, 30 insertions(+), 7 deletions(-)
-- 
2.9.3
Powered by blists - more mailing lists
 
