dpdk: ipsec tunnel support for ip6-in-ip4 07/21107/3
authorMatthew G Smith <mgsmith@netgate.com>
Tue, 6 Aug 2019 13:43:50 +0000 (08:43 -0500)
committerNeale Ranns <nranns@cisco.com>
Thu, 15 Aug 2019 10:15:32 +0000 (10:15 +0000)
commit5025d40a1134272ab57c3c3f10311e31a65cd63c
treef747e725d22e75295a1c946d0975dad1c01c8c23
parent531969ef614bdc15c45dae0f1b5e90afaf86eb7b
dpdk: ipsec tunnel support for ip6-in-ip4

Type: feature

If an attempt was made to send an IPv6 packet over an IPv4 tunnel,
the DPDK esp_encrypt did not complete setting up
the crypto operation for a buffer, but still queued the crypto
operations that were allocated. This results in a SEGV when
attempting to dequeue them in dpdk-crypto-input.

Allow IPv6 packets to be sent over a v4 tunnel when using the DPDK
plugin esp crypto nodes.

Change-Id: Ic9a4cd69b7fc06a17ab2f64ae806ec2ceacfef27
Signed-off-by: Matthew Smith <mgsmith@netgate.com>
src/plugins/dpdk/ipsec/esp_decrypt.c
src/plugins/dpdk/ipsec/esp_encrypt.c