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

Reply via email to