aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tools/testing/selftests
diff options
context:
space:
mode:
authorAndrew Lunn <andrew@lunn.ch>2019-01-11 00:15:21 +0100
committerDavid S. Miller <davem@davemloft.net>2019-01-15 21:51:19 -0800
commite0a7328fad9979104f73e19bedca821ef3262ae1 (patch)
treecda417e2b65abbba239f6911f0ade3ac0ec2b70d /tools/testing/selftests
parentnet: phy: marvell: Errata for mv88e6390 internal PHYs (diff)
downloadwireguard-linux-e0a7328fad9979104f73e19bedca821ef3262ae1.tar.xz
wireguard-linux-e0a7328fad9979104f73e19bedca821ef3262ae1.zip
net: phy: marvell: Fix deadlock from wrong locking
m88e1318_set_wol() takes the lock as part of phy_select_page(). Don't take the lock again with phy_read(), use the unlocked __phy_read(). Fixes: 424ca4c55121 ("net: phy: marvell: fix paged access races") Reported-by: Åke Rehnman <ake.rehnman@gmail.com> Signed-off-by: Andrew Lunn <andrew@lunn.ch> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/testing/selftests')
0 files changed, 0 insertions, 0 deletions