commit | f4a761d2030289229e5e7837a8afd35e48af464c | [log] [tgz] |
---|---|---|
author | Ido Schimmel <idosch@mellanox.com> | Fri Mar 10 08:53:37 2017 +0100 |
committer | David S. Miller <davem@davemloft.net> | Fri Mar 10 09:36:06 2017 -0800 |
tree | 9a4e7a6e9deb41a822d86cafb3f00c339cf3f197 | |
parent | 186962ebb7ecd74d305cf167e99bf1885b89ea8c [diff] |
mlxsw: spectrum: Destroy RIFs based on last removed address We only use the RIF reference count to determine when the last IP address was removed, but instead we can just test 'in_dev->ifa_list'. 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>