commit | e5845aa0eadda3d8a950eb8845c1396827131f30 | [log] [tgz] |
---|---|---|
author | Vladimir Oltean <vladimir.oltean@nxp.com> | Tue Sep 21 01:49:18 2021 +0300 |
committer | David S. Miller <davem@davemloft.net> | Tue Sep 21 10:59:39 2021 +0100 |
tree | 9eba816a51115dd7158b40520988dd0e8c3e2dcf | |
parent | 431db53c73c901aaf6239378c24e4823443b214c [diff] |
net: dsa: fix dsa_tree_setup error path Since the blamed commit, dsa_tree_teardown_switches() was split into two smaller functions, dsa_tree_teardown_switches and dsa_tree_teardown_ports. However, the error path of dsa_tree_setup stopped calling dsa_tree_teardown_ports. Fixes: a57d8c217aad ("net: dsa: flush switchdev workqueue before tearing down CPU/DSA ports") Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com> Signed-off-by: David S. Miller <davem@davemloft.net>