]> www.infradead.org Git - users/jedix/linux-maple.git/commit
selftests/bpf: Relax TCPOPT_WINDOW validation in test_tcp_custom_syncookie.c.
authorKuniyuki Iwashima <kuniyu@amazon.com>
Wed, 14 May 2025 21:40:20 +0000 (14:40 -0700)
committerMartin KaFai Lau <martin.lau@kernel.org>
Wed, 14 May 2025 22:13:24 +0000 (15:13 -0700)
commit4dd372de3fde1afab3adf231e8b2962c40200387
treeb6ae7f87d4a6d6f18cf753ead54e021992640bbe
parentd0445d7dd3fd9b15af7564c38d7aa3cbc29778ee
selftests/bpf: Relax TCPOPT_WINDOW validation in test_tcp_custom_syncookie.c.

The custom syncookie test expects TCPOPT_WINDOW to be 7 based on the
kernel’s behaviour at the time, but the upcoming series [0] will bump
it to 10.

Let's relax the test to allow any valid TCPOPT_WINDOW value in the
range 1–14.

Signed-off-by: Kuniyuki Iwashima <kuniyu@amazon.com>
Signed-off-by: Martin KaFai Lau <martin.lau@kernel.org>
Link: https://lore.kernel.org/netdev/20250513193919.1089692-1-edumazet@google.com/
Link: https://patch.msgid.link/20250514214021.85187-1-kuniyu@amazon.com
tools/testing/selftests/bpf/progs/test_tcp_custom_syncookie.c