OSDN Git Service

Merge branch 'phydev-locks'
authorDavid S. Miller <davem@davemloft.net>
Mon, 20 Feb 2023 10:04:22 +0000 (10:04 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 20 Feb 2023 10:04:22 +0000 (10:04 +0000)
Andrew Lunn says:

====================
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.
====================

Signed-off-by: David S. Miller <davem@davemloft.net>

Trivial merge