commit | 0583272d91f0f4e21f1eb666786286863185be7e | [log] [tgz] |
---|---|---|
author | Ido Schimmel <idosch@mellanox.com> | Wed Aug 17 16:39:35 2016 +0200 |
committer | David S. Miller <davem@davemloft.net> | Wed Aug 17 19:18:27 2016 -0400 |
tree | bb9e50be5423c1126f9258c2e3d963d5308e8cc5 | |
parent | 0e7df1a290abbcf3ecf697bbbbd4549c9a113db0 [diff] |
mlxsw: spectrum: Add missing rollbacks in error path While going over the code I noticed we are missing two rollbacks in the port's creation error path. Add them and adjust the place of one of them in the port's removal sequence so that both are symmetric. Fixes: 56ade8fe3fe1 ("mlxsw: spectrum: Add initial support for Spectrum ASIC") 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>