diff options
| author | Heiner Kallweit <[email protected]> | 2021-11-24 07:16:25 +0000 |
|---|---|---|
| committer | Jakub Kicinski <[email protected]> | 2021-11-25 02:19:58 +0000 |
| commit | ddb826c2c92d461f290a7bab89e7c28696191875 (patch) | |
| tree | fdd33d30e829ef339d29cfef2f619d1901ed302d /net/unix/af_unix.c | |
| parent | tcp_cubic: fix spurious Hystart ACK train detections for not-cwnd-limited flows (diff) | |
| download | kernel-ddb826c2c92d461f290a7bab89e7c28696191875.tar.gz kernel-ddb826c2c92d461f290a7bab89e7c28696191875.zip | |
lan743x: fix deadlock in lan743x_phy_link_status_change()
Usage of phy_ethtool_get_link_ksettings() in the link status change
handler isn't needed, and in combination with the referenced change
it results in a deadlock. Simply remove the call and replace it with
direct access to phydev->speed. The duplex argument of
lan743x_phy_update_flowcontrol() isn't used and can be removed.
Fixes: c10a485c3de5 ("phy: phy_ethtool_ksettings_get: Lock the phy for consistency")
Reported-by: Alessandro B Maurici <[email protected]>
Tested-by: Alessandro B Maurici <[email protected]>
Signed-off-by: Heiner Kallweit <[email protected]>
Reviewed-by: Andrew Lunn <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions
