numam-dpdk/examples/ip_pipeline
Fan Zhang f5f3f68499 examples/ip_pipeline: fix null packet in source port
This patch fixes the NULL packet processing problem. Originally,
pipeline's write attempt to NULL packets generated by source
port may crash the application.

This patch fixes the problem by enforcing each source port
defined in cfg file containing a user specified or default pcap
file path.

Fixes: 0e1e7d53 ("examples/ip_pipeline: add pcap file source")

Signed-off-by: Fan Zhang <roy.fan.zhang@intel.com>
Acked-by: Cristian Dumitrescu <cristian.dumitrescu@intel.com>
2016-06-07 22:58:18 +02:00
..
config doc: drop old naming of the project 2016-02-10 15:47:51 +01:00
pipeline examples/ip_pipeline: fix initialization of firewall bulk handler 2016-05-16 21:01:51 +02:00
app.h examples/ip_pipeline: fix options array overflow 2016-05-16 21:01:51 +02:00
config_check.c examples/ip_pipeline: add link identification 2016-03-07 12:43:23 +01:00
config_parse_tm.c examples/ip_pipeline: fix buffer overrun 2015-12-13 02:39:19 +01:00
config_parse.c examples/ip_pipeline: fix null packet in source port 2016-06-07 22:58:18 +02:00
cpu_core_map.c remove extra parentheses in return statement 2016-02-10 15:47:50 +01:00
cpu_core_map.h examples/ip_pipeline: rework config file syntax 2015-07-09 17:25:45 +02:00
init.c examples/ip_pipeline: fix null packet in source port 2016-06-07 22:58:18 +02:00
main.c examples/ip_pipeline: add more ports 2015-11-26 00:32:12 +01:00
Makefile examples/ip_pipeline: add flow actions pipeline 2015-12-07 02:35:56 +01:00
parser.h examples/ip_pipeline: clean config parser 2016-03-07 12:28:57 +01:00
pipeline_be.h examples/ip_pipeline: add pcap file dump 2016-03-13 16:04:16 +01:00
pipeline.h examples/ip_pipeline: reconfigure thread binding dynamically 2015-12-07 02:35:56 +01:00
thread_fe.c examples/ip_pipeline: measure CPU utilization 2016-03-07 12:35:36 +01:00
thread_fe.h examples/ip_pipeline: measure CPU utilization 2016-03-07 12:35:36 +01:00
thread.c examples/ip_pipeline: measure CPU utilization 2016-03-07 12:35:36 +01:00
thread.h examples/ip_pipeline: measure CPU utilization 2016-03-07 12:35:36 +01:00