]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commitdiff
selftests: mlxsw: vxlan: Remove IPv6 test case
authorAmit Cohen <amcohen@nvidia.com>
Tue, 14 Dec 2021 14:25:51 +0000 (16:25 +0200)
committerDavid S. Miller <davem@davemloft.net>
Wed, 15 Dec 2021 15:05:44 +0000 (15:05 +0000)
Currently, there is a test case to verify that VxLAN with IPv6 underlay
is forbidden.

Remove this test case as support for VxLAN with IPv6 underlay was added
by the previous patch.

Signed-off-by: Amit Cohen <amcohen@nvidia.com>
Signed-off-by: Ido Schimmel <idosch@nvidia.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
tools/testing/selftests/drivers/net/mlxsw/vxlan.sh

index 729a86cc4ede9c49b6119b182817177783704b3f..3639b89c81bae5f5ea5786933bbcf92a41f2884f 100755 (executable)
@@ -145,23 +145,6 @@ sanitization_single_dev_no_local_ip_test()
        log_test "vxlan device with no local ip"
 }
 
-sanitization_single_dev_local_ipv6_test()
-{
-       RET=0
-
-       ip link add dev br0 type bridge mcast_snooping 0
-
-       ip link add name vxlan0 up type vxlan id 10 nolearning noudpcsum \
-               ttl 20 tos inherit local 2001:db8::1 dstport 4789
-
-       sanitization_single_dev_test_fail
-
-       ip link del dev vxlan0
-       ip link del dev br0
-
-       log_test "vxlan device with local ipv6 address"
-}
-
 sanitization_single_dev_learning_enabled_test()
 {
        RET=0
@@ -276,7 +259,6 @@ sanitization_single_dev_test()
        sanitization_single_dev_mcast_enabled_test
        sanitization_single_dev_mcast_group_test
        sanitization_single_dev_no_local_ip_test
-       sanitization_single_dev_local_ipv6_test
        sanitization_single_dev_learning_enabled_test
        sanitization_single_dev_local_interface_test
        sanitization_single_dev_port_range_test