[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20230217030714.1249009-1-andrew@lunn.ch>
Date: Fri, 17 Feb 2023 04:07:12 +0100
From: Andrew Lunn <andrew@...n.ch>
To: netdev <netdev@...r.kernel.org>
Cc: Russell King <rmk+kernel@...linux.org.uk>,
Heiner Kallweit <hkallweit1@...il.com>,
Florian Fainelli <f.fainelli@...il.com>,
Andrew Lunn <andrew@...n.ch>
Subject: [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(-)
--
2.39.1
Powered by blists - more mailing lists