[LTP] [PATCH 05/15] netstress: Remove kernel >= 3.11 check

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


Since 9e9654cf2 LTP supports kernel >= 4.4.

Signed-off-by: Petr Vorel <pvorel@suse.cz>
---
 testcases/network/netstress/netstress.c | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/testcases/network/netstress/netstress.c b/testcases/network/netstress/netstress.c
index 03bfe33f2..b17d8c04e 100644
--- a/testcases/network/netstress/netstress.c
+++ b/testcases/network/netstress/netstress.c
@@ -884,9 +884,6 @@ static void setup(void)
 	if (!clients_num)
 		clients_num = sysconf(_SC_NPROCESSORS_ONLN);
 
-	if (busy_poll >= 0 && tst_kvercmp(3, 11, 0) < 0)
-		tst_brk(TCONF, "Test must be run with kernel 3.11 or newer");
-
 	set_protocol_type();
 
 	if (client_mode) {
-- 
2.43.0



More information about the ltp mailing list