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

Thomas Monjalon thomas at monjalon.net
Fri Apr 21 01:05:58 CEST 2017


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 the burst mode code.
> 
> Fixes: 775003ad2f96 ("distributor: add new burst-capable library")
> 
> v2: Extented commit message. Patch remains the same.
> 
> Signed-off-by: David Hunt <david.hunt at intel.com>
> Tested-by: Yong Liu <yong.liu at intel.com>
> Acked-by: Bruce Richardson <bruce.richardson at intel.com>

Applied, thanks


More information about the dev mailing list