Skip to contentSkip to conversation

test: fix 5-fragment IP reassembly test vectors

PATCH Applied Aarnav JP 2 participants 2 messages Sep 17 – Sep 24

lore
Share & tools
lore

Aarnav JP

author
#0 lore raw

PATCH 1/1 test: fix 5-fragment IP reassembly test vectors

Fix UDP source port bytes (0x80 -> 0x08) in IPv4 and IPv6 first fragments, and fix IPv6 full packet next_header field (0x2c -> 0x11) to indicate UDP instead of Fragment header.

Fixes a310577766d6 ("test/security: add inline IPsec reassembly cases")
---
 app/test/test_security_inline_proto_vectors.h | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
app/test/test_security_inline_proto_vectors.h +3 -3
index 86dfa54777..b2566654e9 100644
@@ -217,7 +217,7 @@ struct ip_reassembly_test_packet pkt_ipv6_udp_p3 = {
 	.l4_offset = 40,
 	.data = {
 		/* IP */
-		0x60, 0x00, 0x00, 0x00, 0x16, 0x6e, 0x2c, 0x40,
+		0x60, 0x00, 0x00, 0x00, 0x16, 0x6e, 0x11, 0x40,
 		0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
 		0x00, 0x00, 0xff, 0xff, 0x0d, 0x00, 0x00, 0x02,
 		0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
@@ -241,7 +241,7 @@ struct ip_reassembly_test_packet pkt_ipv6_udp_p3_f1 = {
 		0x11, 0x00, 0x00, 0x01, 0x65, 0xcf, 0x5a, 0xae,
 
 		/* UDP */
-		0x80, 0x00, 0x27, 0x10, 0x16, 0x6e, 0x2f, 0x99,
+		0x08, 0x00, 0x27, 0x10, 0x16, 0x6e, 0x2f, 0x99,
 	},
 };
 
@@ -439,7 +439,7 @@ struct ip_reassembly_test_packet pkt_ipv4_udp_p3_f1 = {
 		0x02, 0x00, 0x00, 0x02,
 
 		/* UDP */
-		0x80, 0x00, 0x27, 0x10, 0x16, 0x82, 0xbb, 0xfd,
+		0x08, 0x00, 0x27, 0x10, 0x16, 0x82, 0xbb, 0xfd,
 	},
 };
 
Signature · 1 line
2.43.0
Applied
#1 lore raw
Quoted 17 lines

-----Original Message-----
From: Aarnav JP <[email protected]>
Sent: Thursday, September 17, 2026 11:49 AM
To: [email protected]; Akhil Goyal <[email protected]>; Anoob Joseph <[email protected]>; Fan Zhang <[email protected]>
Cc: Jerin Jacob <[email protected]>; Nithin Kumar Dabilpuram <[email protected]>; Rahul Bhansali <[email protected]>; Aarnav JP <[email protected]>; [email protected]
Subject: [PATCH] test: fix 5-fragment IP reassembly test vectors

Fix UDP source port bytes (0x80 -> 0x08) in IPv4 and IPv6 first fragments, and fix IPv6 full packet next_header field (0x2c -> 0x11) to indicate UDP instead of Fragment header.

Quoted 4 lines
Fixes a310577766d6 ("test/security: add inline IPsec reassembly cases")

Applied to dpdk-next-crypto
Thanks.