diff options
author | Vladimir Oltean <vladimir.oltean@nxp.com> | 2022-03-03 17:08:40 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2022-03-06 13:55:54 +0300 |
commit | afb3cc1a397d77771f342691b7e6b032a234d7f2 (patch) | |
tree | c889c5b038aafdeaaa12d0356728e02f356eff8b /drivers | |
parent | c6a502c2299941c8326d029cfc8a3bc8a4607ad5 (diff) | |
download | linux-afb3cc1a397d77771f342691b7e6b032a234d7f2.tar.xz |
net: dsa: unlock the rtnl_mutex when dsa_master_setup() fails
After the blamed commit, dsa_tree_setup_master() may exit without
calling rtnl_unlock(), fix that.
Fixes: c146f9bc195a ("net: dsa: hold rtnl_mutex when calling dsa_master_{setup,teardown}")
Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers')
0 files changed, 0 insertions, 0 deletions