dpdk: ipsec tunnel support for ip6-in-ip4 34/22134/2
authorMatthew G Smith <[email protected]>
Tue, 6 Aug 2019 13:43:50 +0000 (08:43 -0500)
committerAndrew Yourtchenko <[email protected]>
Thu, 19 Sep 2019 18:16:47 +0000 (18:16 +0000)
commit2dde5a47824a5c3949efa9a9e5354b65aa84d3c2
tree1781a32fe9ef8338b0820bf0f60d1f417c307c7c
parent1ffabcb3df911f5f115a1c6dd51bdb5fdd3ac52c
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 <[email protected]>
(cherry picked from commit 5025d40a1134272ab57c3c3f10311e31a65cd63c)
src/plugins/dpdk/ipsec/esp_decrypt.c
src/plugins/dpdk/ipsec/esp_encrypt.c