mirror of
https://github.com/hardkernel/linux.git
synced 2026-03-24 19:40:21 +09:00
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>
This commit is contained in:
committed by
David S. Miller
parent
6fb1faa1b9
commit
b526b2ea14
@@ -96,9 +96,6 @@ cleanup()
|
||||
|
||||
switch_destroy
|
||||
|
||||
# Always cleanup the mcast group
|
||||
ip address del dev $h2 $TEST_GROUP/32 2>&1 1>/dev/null
|
||||
|
||||
h2_destroy
|
||||
h1_destroy
|
||||
|
||||
|
||||
Reference in New Issue
Block a user