summaryrefslogtreecommitdiff
path: root/sound
diff options
context:
space:
mode:
authorIoana Ciornei <ioana.ciornei@nxp.com>2019-11-21 21:15:25 +0200
committerRussell King <rmk+kernel@armlinux.org.uk>2021-02-15 14:01:49 +0000
commitb923b0530d9983240230e19294d4fe761afa7916 (patch)
treec8615b479bee82614aa30b95d250a51bccb36224 /sound
parent07f56a5d3a78161d0245cb4b71569df10386091d (diff)
dpaa2-eth: do not hold rtnl_lock on phylink_create() or _destroy()
The rtnl_lock should not be held when calling phylink_create() or phylink_destroy() since it leads to the deadlock listed below: [ 18.656576] rtnl_lock+0x18/0x20 [ 18.659798] sfp_bus_add_upstream+0x28/0x90 [ 18.663974] phylink_create+0x2cc/0x828 [ 18.667803] dpaa2_mac_connect+0x14c/0x2a8 [ 18.671890] dpaa2_eth_connect_mac+0x94/0xd8 Fix this by moving the _lock() and _unlock() calls just outside of phylink_of_phy_connect() and phylink_disconnect_phy(). Fixes: 719479230893 ("dpaa2-eth: add MAC/PHY support through phylink") Reported-by: Russell King <linux@armlinux.org.uk> Signed-off-by: Ioana Ciornei <ioana.ciornei@nxp.com> Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
Diffstat (limited to 'sound')
0 files changed, 0 insertions, 0 deletions