* [PATCH] test/security: fix IPv6 next header field
@ 2023-08-18 14:32 Rahul Bhansali
2023-09-19 8:29 ` Akhil Goyal
0 siblings, 1 reply; 2+ messages in thread
From: Rahul Bhansali @ 2023-08-18 14:32 UTC (permalink / raw)
To: dev, Akhil Goyal, Fan Zhang, Anoob Joseph; +Cc: Rahul Bhansali
In case of IPv6 fragments are reassembled, then fragment
header will be removed from packet and next-header field in
IPv6 header will be updated to header followed by fragment header.
Fixes: a310577766d6 ("test/security: add inline IPsec reassembly cases")
Signed-off-by: Rahul Bhansali <rbhansali@marvell.com>
---
app/test/test_security_inline_proto_vectors.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/app/test/test_security_inline_proto_vectors.h b/app/test/test_security_inline_proto_vectors.h
index 61a045b446..3ac75588a3 100644
--- a/app/test/test_security_inline_proto_vectors.h
+++ b/app/test/test_security_inline_proto_vectors.h
@@ -88,7 +88,7 @@ struct ip_reassembly_test_packet pkt_ipv6_udp_p1 = {
.l4_offset = 40,
.data = {
/* IP */
- 0x60, 0x00, 0x00, 0x00, 0x05, 0xb4, 0x2C, 0x40,
+ 0x60, 0x00, 0x00, 0x00, 0x05, 0xb4, 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,
@@ -135,7 +135,7 @@ struct ip_reassembly_test_packet pkt_ipv6_udp_p2 = {
.l4_offset = 40,
.data = {
/* IP */
- 0x60, 0x00, 0x00, 0x00, 0x11, 0x5a, 0x2c, 0x40,
+ 0x60, 0x00, 0x00, 0x00, 0x11, 0x5a, 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,
--
2.25.1
^ permalink raw reply [flat|nested] 2+ messages in thread
* RE: [PATCH] test/security: fix IPv6 next header field
2023-08-18 14:32 [PATCH] test/security: fix IPv6 next header field Rahul Bhansali
@ 2023-09-19 8:29 ` Akhil Goyal
0 siblings, 0 replies; 2+ messages in thread
From: Akhil Goyal @ 2023-09-19 8:29 UTC (permalink / raw)
To: Rahul Bhansali, dev, Fan Zhang, Anoob Joseph; +Cc: Rahul Bhansali, stable
> Subject: [PATCH] test/security: fix IPv6 next header field
>
> In case of IPv6 fragments are reassembled, then fragment
> header will be removed from packet and next-header field in
> IPv6 header will be updated to header followed by fragment header.
>
> Fixes: a310577766d6 ("test/security: add inline IPsec reassembly cases")
Cc: stable@dpdk.org
>
> Signed-off-by: Rahul Bhansali <rbhansali@marvell.com>
> ---
Acked-by: Akhil Goyal <gakhil@marvell.com>
Applied to dpdk-next-crypto
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2023-09-19 8:29 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-08-18 14:32 [PATCH] test/security: fix IPv6 next header field Rahul Bhansali
2023-09-19 8:29 ` Akhil Goyal
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).