commit | 51554db2d23f71989e040df838613bbae554d4e0 | [log] [tgz] |
---|---|---|
author | Ido Schimmel <idosch@mellanox.com> | Fri May 06 22:18:39 2016 +0200 |
committer | David S. Miller <davem@davemloft.net> | Fri May 06 18:27:42 2016 -0400 |
tree | db502cb1e6ea82e641470089c903ba560bb9f60f | |
parent | 229740c63169462a838a8b8e16391ed000934631 [diff] |
mlxsw: spectrum: Fix rollback order in LAG join failure Make the leave procedure in the error path symmetric to the join procedure and first remove the port from the collector before potentially destroying the LAG. Fixes: 0d65fc13042f ("mlxsw: spectrum: Implement LAG port join/leave") Signed-off-by: Ido Schimmel <idosch@mellanox.com> Signed-off-by: Jiri Pirko <jiri@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>