* [dpdk-dev] [PATCH] examples/ipsec-secgw: fix handling IPv6 extension headers
@ 2021-04-29 10:47 Konstantin Ananyev
2021-05-05 14:54 ` [dpdk-dev] [EXT] " Akhil Goyal
0 siblings, 1 reply; 2+ messages in thread
From: Konstantin Ananyev @ 2021-04-29 10:47 UTC (permalink / raw)
To: dev
Cc: vladimir.medvedkin, ktejasree, gakhil, radu.nicolau, Konstantin Ananyev
Recent patch to support UDP encapsulation introduced problem with
handling inbound IPv6 packets with header extensions.
This patch aims to fix the issue.
Bugzilla ID: 695
Fixes: 9a1cc8f1ed74 ("examples/ipsec-secgw: support UDP encapsulation")
Reported-by: Vladimir Medvedkin <vladimir.medvedkin@intel.com>
Signed-off-by: Konstantin Ananyev <konstantin.ananyev@intel.com>
---
examples/ipsec-secgw/ipsec-secgw.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/examples/ipsec-secgw/ipsec-secgw.c b/examples/ipsec-secgw/ipsec-secgw.c
index a9f9b5859..f252d3498 100644
--- a/examples/ipsec-secgw/ipsec-secgw.c
+++ b/examples/ipsec-secgw/ipsec-secgw.c
@@ -426,7 +426,7 @@ prepare_one_packet(struct rte_mbuf *pkt, struct ipsec_traffic *t)
return;
}
- switch (iph6->proto) {
+ switch (next_proto) {
case IPPROTO_ESP:
t->ipsec.pkts[(t->ipsec.num)++] = pkt;
break;
--
2.26.3
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [dpdk-dev] [EXT] [PATCH] examples/ipsec-secgw: fix handling IPv6 extension headers
2021-04-29 10:47 [dpdk-dev] [PATCH] examples/ipsec-secgw: fix handling IPv6 extension headers Konstantin Ananyev
@ 2021-05-05 14:54 ` Akhil Goyal
0 siblings, 0 replies; 2+ messages in thread
From: Akhil Goyal @ 2021-05-05 14:54 UTC (permalink / raw)
To: Konstantin Ananyev, dev; +Cc: vladimir.medvedkin, Tejasree Kondoj, radu.nicolau
> Recent patch to support UDP encapsulation introduced problem with
> handling inbound IPv6 packets with header extensions.
> This patch aims to fix the issue.
>
> Bugzilla ID: 695
> Fixes: 9a1cc8f1ed74 ("examples/ipsec-secgw: support UDP encapsulation")
>
> Reported-by: Vladimir Medvedkin <vladimir.medvedkin@intel.com>
> Signed-off-by: Konstantin Ananyev <konstantin.ananyev@intel.com>
> ---
Acked-by: Akhil Goyal <gakhil@marvell.com>
Applied to dpdk-next-crypto
Thanks.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-05-05 14:54 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-04-29 10:47 [dpdk-dev] [PATCH] examples/ipsec-secgw: fix handling IPv6 extension headers Konstantin Ananyev
2021-05-05 14:54 ` [dpdk-dev] [EXT] " 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).