Add additional phydev locks
Status from this message: This series was applied to netdev/net-next.git (master)
Get series with b4
b4 am [email protected]Versions newest first
Patches in v1 All 2 applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | net: phy: marvell: Use the unlocked genphy_c45_ethtool_get_eee()drivers/ | +1 | 0 replies | Applied |
| 2/2 | net: phy: Add locks to ethtool functionsdrivers/ | +66 | 0 replies | Applied |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH net-next 0/2] Add additional phydev locks
The phydev lock should be held when accessing members of phydev, or calling into the driver. Some of the phy_ethtool_ functions are missing locks. Add them. To avoid deadlock the marvell driver is modified since it calls one of the functions which gain locks, which would result in a deadlock.
The missing locks have not caused noticeable issues, so these patches are for net-next.
Andrew Lunn (2):
net: phy: marvell: Use the unlocked genphy_c45_ethtool_get_eee()
net: phy: Add locks to ethtool functions
drivers/net/phy/marvell.c | 2 +- drivers/net/phy/phy.c | 84 ++++++++++++++++++++++++++++++--------- drivers/net/usb/lan78xx.c | 2 - 3 files changed, 67 insertions(+), 21 deletions(-)
Signature · 1 line
2.39.1