Re: [PATCH net] net: phy: marvell: Fix deadlock from wrong locking

2019-01-15 Thread David Miller
From: Andrew Lunn Date: Fri, 11 Jan 2019 00:15:21 +0100 > 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

[PATCH net] net: phy: marvell: Fix deadlock from wrong locking

2019-01-10 Thread Andrew Lunn
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 Signed-off-by: Andrew Lunn --- drivers/net/phy/marvell.c | 2 +- 1