selftests: bridge_igmp: Remove unnecessary address deletion
authorIdo Schimmel <idosch@nvidia.com>
Tue, 18 Oct 2022 06:39:59 +0000 (09:39 +0300)
committerDavid S. Miller <davem@davemloft.net>
Wed, 19 Oct 2022 13:01:08 +0000 (14:01 +0100)
commitb526b2ea1454d03b294cd10aa35695d5232b1106
tree16e1cfff36e8b946d34c8cdcc898d37f78f404c6
parent6fb1faa1b92b19e3b1fad70a800c87bee934d67b
selftests: bridge_igmp: Remove unnecessary address deletion

The test group address is added and removed in v2reportleave_test().
There is no need to delete it again during cleanup as it results in the
following error message:

 # bash -x ./bridge_igmp.sh
 [...]
 + cleanup
 + pre_cleanup
 [...]
 + ip address del dev swp4 239.10.10.10/32
 RTNETLINK answers: Cannot assign requested address
 + h2_destroy

Solve by removing the unnecessary address deletion.

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_igmp.sh