diff options
author | Ido Schimmel <idosch@mellanox.com> | 2019-12-09 08:56:34 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-12-09 10:19:45 -0800 |
commit | 65cb13986229cec02635a1ecbcd1e2dd18353201 (patch) | |
tree | a770e476cebe7536102844a44c647b0517501b98 /include | |
parent | 62201c00c4679ad8f0730d6d925a5d23651dfad2 (diff) |
selftests: forwarding: Delete IPv6 address at the end
When creating the second host in h2_create(), two addresses are assigned
to the interface, but only one is deleted. When running the test twice
in a row the following error is observed:
$ ./router_bridge_vlan.sh
TEST: ping [ OK ]
TEST: ping6 [ OK ]
TEST: vlan [ OK ]
$ ./router_bridge_vlan.sh
RTNETLINK answers: File exists
TEST: ping [ OK ]
TEST: ping6 [ OK ]
TEST: vlan [ OK ]
Fix this by deleting the address during cleanup.
Fixes: 5b1e7f9ebd56 ("selftests: forwarding: Test routed bridge interface")
Signed-off-by: Ido Schimmel <idosch@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions