diff options
author | Briana Oursler <briana.oursler@gmail.com> | 2020-06-24 12:29:14 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-06-25 16:10:45 -0700 |
commit | b6186d413b1d50f45fe2415d760947576ef3691a (patch) | |
tree | f8aa23227c083cc15327d96dbe30d898ea58adb7 /tools/testing/selftests/tc-testing/tc-tests/actions/bpf.json | |
parent | Merge branch 'tcp_cubic-fix-spurious-HYSTART_DELAY-on-RTT-decrease' (diff) | |
download | wireguard-linux-b6186d413b1d50f45fe2415d760947576ef3691a.tar.xz wireguard-linux-b6186d413b1d50f45fe2415d760947576ef3691a.zip |
tc-testing: avoid action cookies with odd length.
Update odd length cookie hexstrings in csum.json, tunnel_key.json and
bpf.json to be even length to comply with check enforced in commit
0149dabf2a1b ("tc: m_actions: check cookie hexstring len") in iproute2.
Signed-off-by: Briana Oursler <briana.oursler@gmail.com>
Reviewed-by: Stefano Brivio <sbrivio@redhat.com>
Reviewed-by: Davide Caratti <dcaratti@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/testing/selftests/tc-testing/tc-tests/actions/bpf.json')
-rw-r--r-- | tools/testing/selftests/tc-testing/tc-tests/actions/bpf.json | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/testing/selftests/tc-testing/tc-tests/actions/bpf.json b/tools/testing/selftests/tc-testing/tc-tests/actions/bpf.json index 47a3082b6661..503982b8f295 100644 --- a/tools/testing/selftests/tc-testing/tc-tests/actions/bpf.json +++ b/tools/testing/selftests/tc-testing/tc-tests/actions/bpf.json @@ -260,10 +260,10 @@ 255 ] ], - "cmdUnderTest": "$TC action add action bpf bytecode '4,40 0 0 12,21 0 1 2054,6 0 0 262144,6 0 0 0' index 4294967296 cookie 12345", + "cmdUnderTest": "$TC action add action bpf bytecode '4,40 0 0 12,21 0 1 2054,6 0 0 262144,6 0 0 0' index 4294967296 cookie 123456", "expExitCode": "255", "verifyCmd": "$TC action ls action bpf", - "matchPattern": "action order [0-9]*: bpf bytecode '4,40 0 0 12,21 0 1 2048,6 0 0 262144,6 0 0 0' default-action pipe.*cookie 12345", + "matchPattern": "action order [0-9]*: bpf bytecode '4,40 0 0 12,21 0 1 2048,6 0 0 262144,6 0 0 0' default-action pipe.*cookie 123456", "matchCount": "0", "teardown": [ "$TC action flush action bpf" |