numam-dpdk/lib/librte_distributor
David Hunt 917f49cfd0 distributor: fix crash in flush
Occasionally, the distributor single-packet-at-a-time mode will
segfault because it inadvertently calls some burst mode code when
flushing packets.

This patch ensures that only the v20 (single mode) codepath is used, and
returns without falling through to the burst mode code.

Fixes: 775003ad2f ("distributor: add new burst-capable library")

Signed-off-by: David Hunt <david.hunt@intel.com>
Tested-by: Yong Liu <yong.liu@intel.com>
Acked-by: Bruce Richardson <bruce.richardson@intel.com>
2017-04-21 01:03:35 +02:00
..
Makefile distributor: switch over to new API 2017-03-29 16:46:57 +02:00
rte_distributor_match_generic.c distributor: switch over to new API 2017-03-29 16:46:57 +02:00
rte_distributor_match_sse.c distributor: switch over to new API 2017-03-29 16:46:57 +02:00
rte_distributor_private.h distributor: switch over to new API 2017-03-29 16:46:57 +02:00
rte_distributor_v20.c distributor: add symbol versioning 2017-03-29 16:46:57 +02:00
rte_distributor_v20.h distributor: switch over to new API 2017-03-29 16:46:57 +02:00
rte_distributor_v1705.h distributor: add symbol versioning 2017-03-29 16:46:57 +02:00
rte_distributor_version.map distributor: add symbol versioning 2017-03-29 16:46:57 +02:00
rte_distributor.c distributor: fix crash in flush 2017-04-21 01:03:35 +02:00
rte_distributor.h distributor: switch over to new API 2017-03-29 16:46:57 +02:00