[dpdk-dev] [PATCH] examples/ipsec-secgw: fix inbound segfault

2016-07-16 Thread Thomas Monjalon
2016-07-12 13:49, Sergio Gonzalez Monroy: > When sending Inbound non IPSec traffic that matches an Inbound Security > Policy set to Protect, the code will check that the SPI of the packet > and the associated Security Association match. > > That check should only be done for IPSec packets and resu

[dpdk-dev] [PATCH] examples/ipsec-secgw: fix inbound segfault

2016-07-12 Thread Sergio Gonzalez Monroy
When sending Inbound non IPSec traffic that matches an Inbound Security Policy set to Protect, the code will check that the SPI of the packet and the associated Security Association match. That check should only be done for IPSec packets and results in SEGFAULT when done on non IPSec packets. Fix