numam-dpdk/lib/librte_ipsec
Marcin Smoczynski 2c1887fad0 ipsec: fix transport mode for IPv6 with extensions
Reconstructing IPv6 header after encryption or decryption requires
updating 'next header' value in the preceding protocol header, which
is determined by parsing IPv6 header and iteratively looking for
next IPv6 header extension.

It is required that 'l3_len' in the mbuf metadata contains a total
length of the IPv6 header with header extensions up to ESP header.

Fixes: 4d7ea3e145 ("ipsec: implement SA data-path API")
Cc: stable@dpdk.org

Signed-off-by: Marcin Smoczynski <marcinx.smoczynski@intel.com>
Acked-by: Konstantin Ananyev <konstantin.ananyev@intel.com>
Acked-by: Akhil Goyal <akhil.goyal@nxp.com>
Tested-by: Konstantin Ananyev <konstantin.ananyev@intel.com>
2019-07-05 15:28:14 +02:00
..
crypto.h net: add rte prefix to ESP structure 2019-05-24 13:34:45 +02:00
esp_inb.c net: add rte prefix to ESP structure 2019-05-24 13:34:45 +02:00
esp_outb.c net: add rte prefix to ESP structure 2019-05-24 13:34:45 +02:00
iph.h ipsec: fix transport mode for IPv6 with extensions 2019-07-05 15:28:14 +02:00
ipsec_sqn.h ipsec: reorder packet process for ESP inbound 2019-04-02 16:50:24 +02:00
Makefile ipsec: move inbound and outbound code 2019-04-02 16:50:24 +02:00
meson.build ipsec: fix headers install 2019-05-09 15:21:39 +02:00
misc.h doc: fix spelling reported by aspell in comments 2019-05-03 00:38:14 +02:00
pad.h ipsec: implement SA data-path API 2019-01-10 16:57:22 +01:00
rte_ipsec_group.h enforce experimental tag at beginning of declarations 2019-06-29 19:04:48 +02:00
rte_ipsec_sa.h enforce experimental tag at beginning of declarations 2019-06-29 19:04:48 +02:00
rte_ipsec_version.map ipsec: add helpers to group completed crypto-ops 2019-01-10 16:57:22 +01:00
rte_ipsec.h enforce experimental tag at beginning of declarations 2019-06-29 19:04:48 +02:00
sa.c remove experimental tags from all symbol definitions 2019-06-29 19:04:43 +02:00
sa.h ipsec: move inbound and outbound code 2019-04-02 16:50:24 +02:00
ses.c remove experimental tags from all symbol definitions 2019-06-29 19:04:43 +02:00