selftests: xsk: Disable IPv6 on VETH1
[platform/kernel/linux-starfive.git] / tools / testing / selftests / bpf / test_xsk.sh
index b077cf5..377fb15 100755 (executable)
@@ -116,6 +116,7 @@ setup_vethPairs() {
        ip link add ${VETH0} numtxqueues 4 numrxqueues 4 type veth peer name ${VETH1} numtxqueues 4 numrxqueues 4
        if [ -f /proc/net/if_inet6 ]; then
                echo 1 > /proc/sys/net/ipv6/conf/${VETH0}/disable_ipv6
+               echo 1 > /proc/sys/net/ipv6/conf/${VETH1}/disable_ipv6
        fi
        if [[ $verbose -eq 1 ]]; then
                echo "setting up ${VETH1}"