commit | 40d259045500c6431633f215516c1f94bac8c62f | [log] [tgz] |
---|---|---|
author | Jiri Pirko <jiri@mellanox.com> | Thu Sep 08 08:16:01 2016 +0200 |
committer | David S. Miller <davem@davemloft.net> | Fri Sep 09 16:56:53 2016 -0700 |
tree | d0b7d16e293b57ae02f66044752884eb4b2fed15 | |
parent | 2c2c8e33e4aa6e46f19ef7bba8e559759a74a4db [diff] |
mlxsw: spectrum_router: Fix error path in mlxsw_sp_router_init When neigh_init fails, we have to do proper cleanup including router_fini call. Fixes: 6cf3c971dc84cb ("mlxsw: spectrum_router: Add private neigh table") Signed-off-by: Jiri Pirko <jiri@mellanox.com> Acked-by: Ido Schimmel <idosch@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>