diff options
| author | Vladimir Oltean <vladimir.oltean@nxp.com> | 2021-08-19 17:40:18 +0300 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2021-08-20 14:34:49 +0100 |
| commit | d52ef12f7d6c016f3b249db95af33f725e3dd065 (patch) | |
| tree | 77a6078fb549ef72ab44f8e9120451d863788801 /include | |
| parent | 6985157ce8ee8a02e3899226ac4df351387c3f52 (diff) | |
net: dpaa2-switch: phylink_disconnect_phy needs rtnl_lock
There is an ASSERT_RTNL in phylink_disconnect_phy which triggers
whenever dpaa2_switch_port_disconnect_mac is called.
To follow the pattern established by dpaa2_eth_disconnect_mac, take the
rtnl_mutex every time we call dpaa2_switch_port_disconnect_mac.
Fixes: 84cba72956fd ("dpaa2-switch: integrate the MAC endpoint support")
Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com>
Reviewed-by: Ioana Ciornei <ioana.ciornei@nxp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions
