Re: [dpdk-dev] [PATCH v2] lib/distributor: fix segfaults in flush

2017-04-20 Thread Thomas Monjalon
14/04/2017 10:59, David Hunt: > 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

[dpdk-dev] [PATCH v2] lib/distributor: fix segfaults in flush

2017-04-14 Thread David Hunt
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: 775003ad2f96