[LTP] [PATCH 11/15] tcp_fastopen: Remove kernel >= 3.7 and 3.16 check

Petr Vorel pvorel@suse.cz
Mon May 27 08:33:42 CEST 2024


Since 9e9654cf2 LTP supports kernel >= 4.4.

Signed-off-by: Petr Vorel <pvorel@suse.cz>
---
 testcases/network/tcp_fastopen/tcp_fastopen_run.sh | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/testcases/network/tcp_fastopen/tcp_fastopen_run.sh b/testcases/network/tcp_fastopen/tcp_fastopen_run.sh
index 88438c3e1..a3dad55ac 100755
--- a/testcases/network/tcp_fastopen/tcp_fastopen_run.sh
+++ b/testcases/network/tcp_fastopen/tcp_fastopen_run.sh
@@ -7,7 +7,6 @@ TST_SETUP="setup"
 TST_TESTFUNC="test"
 TST_CNT=2
 TST_CLEANUP="cleanup"
-TST_MIN_KVER="3.7"
 TST_NEEDS_TMPDIR=1
 TST_NEEDS_ROOT=1
 TST_NEEDS_CMDS="tc"
@@ -38,10 +37,6 @@ cleanup()
 
 setup()
 {
-	if tst_kvcmp -lt "3.16" && [ "$TST_IPV6" ]; then
-		tst_brk TCONF "test must be run with kernel 3.16 or newer"
-	fi
-
 	ROD tc qdisc add dev $(tst_iface) root netem delay 100
 }
 
-- 
2.43.0



More information about the ltp mailing list