diff options
author | Andrew Lunn <[email protected]> | 2021-10-24 21:48:02 +0200 |
---|---|---|
committer | David S. Miller <[email protected]> | 2021-10-25 14:06:43 +0100 |
commit | c10a485c3de5ccbf1fff65a382cebcb2730c6b06 (patch) | |
tree | 694033b093dc000bba571f9ff618132d1d2be074 /tools/perf/util/scripting-engines/trace-event-perl.c | |
parent | 95a359c9553342d36d408d35331ff0bfce75272f (diff) |
phy: phy_ethtool_ksettings_get: Lock the phy for consistency
The PHY structure should be locked while copying information out if
it, otherwise there is no guarantee of self consistency. Without the
lock the PHY state machine could be updating the structure.
Fixes: 2d55173e71b0 ("phy: add generic function to support ksetting support")
Signed-off-by: Andrew Lunn <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-perl.c')
0 files changed, 0 insertions, 0 deletions