dpdk: add esp6 decrypt nodes, func declarations 60/15460/2
authorMatthew Smith <mgsmith@netgate.com>
Mon, 22 Oct 2018 21:37:25 +0000 (16:37 -0500)
committerDamjan Marion <dmarion@me.com>
Tue, 23 Oct 2018 13:07:58 +0000 (13:07 +0000)
commit1dfdb289a105dafb11d161abaf7e9c946cbf228e
tree3dfb7aa614b991256a6ba2bce019e9c553446a15
parentb7b929931a07fbb27b43d5cd105f366c3e29807e
dpdk: add esp6 decrypt nodes, func declarations

The function dpdk_ipsec_process() attempts to initialize some
globals that store node indexes after looking up the node
dpdk-esp6-decrypt. No such node was declared, so a segv
occurs after dereferencing the result of the lookup.

Add a node function that invokes dpdk_esp_decrypt_inline()
with is_ip6 set to 1. Add a declaration of node dpdk-esp6-decrypt
that uses the node function.

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