aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/flamegraph.py
diff options
context:
space:
mode:
authorAndrew Lunn <andrew@lunn.ch>2021-10-24 21:48:05 +0200
committerDavid S. Miller <davem@davemloft.net>2021-10-25 14:06:43 +0100
commitaf1a02aa23c37045e6adfcf074cf7dbac167a403 (patch)
treee527db05dce25d753a20424239054648169bcca5 /tools/perf/scripts/python/flamegraph.py
parentphy: phy_start_aneg: Add an unlocked version (diff)
downloadlinux-af1a02aa23c37045e6adfcf074cf7dbac167a403.tar.gz
linux-af1a02aa23c37045e6adfcf074cf7dbac167a403.zip
phy: phy_ethtool_ksettings_set: Lock the PHY while changing settings
There is a race condition where the PHY state machine can change members of the phydev structure at the same time userspace requests a change via ethtool. To prevent this, have phy_ethtool_ksettings_set take the PHY lock. Fixes: 2d55173e71b0 ("phy: add generic function to support ksetting support") Reported-by: Walter Stoll <Walter.Stoll@duagon.com> Suggested-by: Walter Stoll <Walter.Stoll@duagon.com> Tested-by: Walter Stoll <Walter.Stoll@duagon.com> Signed-off-by: Andrew Lunn <andrew@lunn.ch> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions