diff options
author | Ido Schimmel <[email protected]> | 2018-10-04 15:48:03 +0000 |
---|---|---|
committer | David S. Miller <[email protected]> | 2018-10-04 09:53:03 -0700 |
commit | c360867ec46a4ec5cb19e5c329d65dff522cc69d (patch) | |
tree | f20dee6d3425f4512464374c4ed1a7996c235048 /tools/perf/util/trace-event-scripting.c | |
parent | f3c84a8e3e922afdcbc55f04df8fdf8a548f5a21 (diff) |
mlxsw: spectrum: Delete RIF when VLAN device is removed
In commit 602b74eda813 ("mlxsw: spectrum_switchdev: Do not leak RIFs
when removing bridge") I handled the case where RIFs created for VLAN
devices were not properly cleaned up when their real device (a bridge)
was removed.
However, I forgot to handle the case of the VLAN device itself being
removed. Do so now when the VLAN device is being unlinked from its real
device.
Fixes: 99f44bb3527b ("mlxsw: spectrum: Enable L3 interfaces on top of bridge devices")
Signed-off-by: Ido Schimmel <[email protected]>
Reviewed-by: Jiri Pirko <[email protected]>
Reported-by: Artem Shvorin <[email protected]>
Tested-by: Artem Shvorin <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions