examples/ipsec-secgw: fix handling IPv6 extension headers
authorKonstantin Ananyev <konstantin.ananyev@intel.com>
Thu, 29 Apr 2021 10:47:57 +0000 (11:47 +0100)
committerAkhil Goyal <gakhil@marvell.com>
Wed, 5 May 2021 14:50:21 +0000 (16:50 +0200)
commit1c91424d0a4327634e3e0534c53d75aac02da410
tree007d0267b371eb7fbcaca497c4962cb829290c6f
parentda573c0e4205d818cd602eaa27c720896f3b6f1c
examples/ipsec-secgw: fix handling IPv6 extension headers

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>
examples/ipsec-secgw/ipsec-secgw.c