examples/ipsec-secgw: fix access to freed packet
authorAnoob Joseph <anoobj@marvell.com>
Thu, 22 Aug 2019 08:28:55 +0000 (13:58 +0530)
committerAkhil Goyal <akhil.goyal@nxp.com>
Wed, 9 Oct 2019 09:50:12 +0000 (11:50 +0200)
commit1f868d90241cc6be2b378faa9dd43002b218226a
tree8f25aa6b44178d511ae7b71d4f73985c169b0965
parent52d719d86e7b2005987cc8e4b0ff538e19fa57d2
examples/ipsec-secgw: fix access to freed packet

For unknown/unsupported packets, the packet would get checked for inline
offloads after the packet is freed.

Fixes: 0ccfd14bc10d ("examples/ipsec-secgw: support inline protocol")
Cc: stable@dpdk.org
Signed-off-by: Anoob Joseph <anoobj@marvell.com>
Acked-by: Akhil Goyal <akhil.goyal@nxp.com>
examples/ipsec-secgw/ipsec-secgw.c