summaryrefslogtreecommitdiff
path: root/README.devel
diff options
context:
space:
mode:
Diffstat (limited to 'README.devel')
0 files changed, 0 insertions, 0 deletions
9f427a0e474a67b454420c131709600d44850486 (diff)
net: phy: Avoid deadlock during phy_error()
phy_error() is called in the PHY state machine workqueue context, and calls phy_trigger_machine() which does a cancel_delayed_work_sync() of the workqueue we execute from, causing a deadlock situation. Augment phy_trigger_machine() machine with a sync boolean indicating whether we should use cancel_*_sync() or just cancel_*_work(). Fixes: 3c293f4e08b5 ("net: phy: Trigger state machine on state change and not polling.") Reported-by: Russell King <rmk+kernel@armlinux.org.uk> Signed-off-by: Florian Fainelli <f.fainelli@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat