diff options
| author | Ido Schimmel <[email protected]> | 2018-12-19 06:08:41 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2018-12-19 12:28:07 -0800 |
| commit | e149113a74c35f0a28d1bfe17d2505a03563c1d5 (patch) | |
| tree | 7dd32c855b5daab79cfc759c837721bd95032cfd /tools/perf/scripts/python/sched-migration.py | |
| parent | f1d7c33d6ab585aba831a73a322070eb89724072 (diff) | |
mlxsw: spectrum: Handle VLAN device unlinking
In commit 993107fea5ee ("mlxsw: spectrum_switchdev: Fix VLAN device
deletion via ioctl") I fixed a bug caused by the fact that the driver
views differently the deletion of a VLAN device when it is deleted via
an ioctl and netlink.
Instead of relying on a specific order of events (device being
unregistered vs. VLAN filter being updated), simply make sure that the
driver performs the necessary cleanup when the VLAN device is unlinked,
which always happens before the other two events.
Signed-off-by: Ido Schimmel <[email protected]>
Reviewed-by: Petr Machata <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/sched-migration.py')
0 files changed, 0 insertions, 0 deletions