summaryrefslogtreecommitdiff
path: root/CREDITS
diff options
context:
space:
mode:
authorIoana Ciornei <ioana.ciornei@nxp.com>2019-11-21 21:15:25 +0200
committerRussell King (Oracle) <rmk+kernel@armlinux.org.uk>2022-06-21 10:58:20 +0100
commit6e8843c2426b2b26a2b3f4d0a5676e13bddc249b (patch)
tree3e46f730feacaeb5efab79188c4135555f8b1ab4 /CREDITS
parent188ae2c16031b0e1af2ee6cb2f6d6275a669d8a8 (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 'CREDITS')
0 files changed, 0 insertions, 0 deletions