net: phy: Fix PHY unbind crash
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest2 patches 1 replyIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | net: phy: Fix PHY unbind crashdrivers/ | +2 | 0 replies | |
| 2/2 | net: phy: Check phydev->drvdrivers/ drivers/ include/ | +28 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [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(-)
Signature · 1 line
2.9.3