selftests: bridge_vlan_mcast: Delete qdiscs during cleanup
authorIdo Schimmel <idosch@nvidia.com>
Tue, 18 Oct 2022 06:39:58 +0000 (09:39 +0300)
committerDavid S. Miller <davem@davemloft.net>
Wed, 19 Oct 2022 13:01:08 +0000 (14:01 +0100)
commit6fb1faa1b92b19e3b1fad70a800c87bee934d67b
treea9201178fdfafeb855639e18e9cf87690c7ff16e
parent5cacb2c7c9a4035238cbd7cbd3cf751f825d9f90
selftests: bridge_vlan_mcast: Delete qdiscs during cleanup

The qdiscs are added during setup, but not deleted during cleanup,
resulting in the following error messages:

 # ./bridge_vlan_mcast.sh
 [...]
 # ./bridge_vlan_mcast.sh
 Error: Exclusivity flag on, cannot modify.
 Error: Exclusivity flag on, cannot modify.

Solve by deleting the qdiscs during cleanup.

Signed-off-by: Ido Schimmel <idosch@nvidia.com>
Acked-by: Nikolay Aleksandrov <razor@blackwall.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
tools/testing/selftests/net/forwarding/bridge_vlan_mcast.sh