numam-dpdk/examples/ipsec-secgw
Sergio Gonzalez Monroy 0a08ab548d examples/ipsec-secgw: fix inbound crash
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.

Fixes: 906257e965 ("examples/ipsec-secgw: support IPv6")

Signed-off-by: Sergio Gonzalez Monroy <sergio.gonzalez.monroy@intel.com>
2016-07-16 00:11:51 +02:00
..
esp.c examples/ipsec-secgw: support transport mode 2016-06-21 12:12:09 +02:00
esp.h examples/ipsec-secgw: rework processing loop 2016-06-21 12:07:25 +02:00
ipip.h examples/ipsec-secgw: support IPv6 2016-06-21 12:11:27 +02:00
ipsec-secgw.c examples/ipsec-secgw: fix inbound crash 2016-07-16 00:11:51 +02:00
ipsec.c examples/ipsec-secgw: support IPv6 2016-06-21 12:11:27 +02:00
ipsec.h examples/ipsec-secgw: support transport mode 2016-06-21 12:12:09 +02:00
Makefile examples/ipsec-secgw: support IPv6 2016-06-21 12:11:27 +02:00
rt.c examples/ipsec-secgw: support transport mode 2016-06-21 12:12:09 +02:00
sa.c examples/ipsec-secgw: support transport mode 2016-06-21 12:12:09 +02:00
sp4.c examples/ipsec-secgw: support transport mode 2016-06-21 12:12:09 +02:00
sp6.c examples/ipsec-secgw: support transport mode 2016-06-21 12:12:09 +02:00