Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

selftests/net: packetdrill: add ipv4-mapped-ipv6 tests

Add ipv4-mapped-ipv6 case to ksft_runner.sh before
an upcoming TCP fix in this area.

Signed-off-by: Eric Dumazet <edumazet@google.com>
Reviewed-by: Willem de Bruijn <willemb@google.com>
Link: https://patch.msgid.link/20260217142924.1853498-1-edumazet@google.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>

authored by

Eric Dumazet and committed by
Jakub Kicinski
570e4549 ccd8e877

+10 -1
+10 -1
tools/testing/selftests/net/packetdrill/ksft_runner.sh
··· 13 13 -D TFO_COOKIE_ZERO=b7c12350a90dc8f5 14 14 -D CMSG_LEVEL_IP=SOL_IP 15 15 -D CMSG_TYPE_RECVERR=IP_RECVERR" 16 + [ipv4-mapped-ipv6]="--ip_version=ipv4-mapped-ipv6 17 + --local_ip=192.168.0.1 18 + --gateway_ip=192.168.0.1 19 + --netmask_ip=255.255.0.0 20 + --remote_ip=192.0.2.1 21 + -D TFO_COOKIE=3021b9d889017eeb 22 + -D TFO_COOKIE_ZERO=b7c12350a90dc8f5 23 + -D CMSG_LEVEL_IP=SOL_IPV6 24 + -D CMSG_TYPE_RECVERR=IPV6_RECVERR" 16 25 [ipv6]="--ip_version=ipv6 17 26 --mtu=1520 18 27 --local_ip=fd3d:0a0b:17d6::1 ··· 54 45 55 46 ip_versions=$(grep -E '^--ip_version=' $script | cut -d '=' -f 2) 56 47 if [[ -z $ip_versions ]]; then 57 - ip_versions="ipv4 ipv6" 48 + ip_versions="ipv4 ipv6 ipv4-mapped-ipv6" 58 49 elif [[ ! "$ip_versions" =~ ^ipv[46]$ ]]; then 59 50 ktap_exit_fail_msg "Too many or unsupported --ip_version: $ip_versions" 60 51 exit "$KSFT_FAIL"