[dpdk-dev] [PATCH v2 5/9] examples/ipsec-secgw: fix no sa found case

2016-06-07 Thread De Lara Guarch, Pablo
> -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Sergio Gonzalez > Monroy > Sent: Wednesday, May 18, 2016 1:42 PM > To: dev at dpdk.org > Cc: Mcnamara, John > Subject: [dpdk-dev] [PATCH v2 5/9] examples/ipsec-secgw: fix no sa

[dpdk-dev] [PATCH v2 5/9] examples/ipsec-secgw: fix no sa found case

2016-05-18 Thread Sergio Gonzalez Monroy
The application only checks that an SA shoudln't be NULL through ASSERT (only when debugging is enabled) without properly dealing with the case of not having an SA for the processed packet. If no SA is found, drop the packet. Fixes: d299106e8e31 ("examples/ipsec-secgw: add IPsec sample applicatio