commit | 9db032bb1e8eed0721884c01a6c87f55f3d400fa | [log] [tgz] |
---|---|---|
author | Ido Schimmel <idosch@mellanox.com> | Thu Mar 16 09:08:17 2017 +0100 |
committer | David S. Miller <davem@davemloft.net> | Thu Mar 16 10:18:34 2017 -0700 |
tree | 155c0f7202f7ceb4ded721fe19d3f158392adf72 | |
parent | 57837885e3c74e42596a8d8c3e6831be1c0a7974 [diff] |
mlxsw: spectrum_router: Don't destroy RIF if L3 slave We usually destroy the netdev's router interface (RIF) when the last IP address is removed from it. However, we shouldn't do that if it's enslaved to an L3 master device. 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>