[dpdk-dev] [PATCH v2] mempool: fix unsafe removal from list by callback

Thomas Monjalon thomas.monjalon at 6wind.com
Mon Jul 25 22:21:57 CEST 2016


> > If a mempool is removed from the list by a callback function
> > during rte_mempool_walk(), the TAILQ_FOREACH loop will fail unexpectedly.
> > It is fixed by using the safe version of the loop macro.
> > 
> > Reported-by: Sergio Gonzalez Monroy <sergio.gonzalez.monroy at intel.com>
> > Signed-off-by: Thomas Monjalon <thomas.monjalon at 6wind.com>
> 
> Acked-by: Olivier Matz <olivier.matz at 6wind.com>

Applied, thanks


More information about the dev mailing list