numam-dpdk/lib/librte_mempool
Thomas Monjalon cae54ac47c mempool: fix unsafe removal from list by callback
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@intel.com>
Signed-off-by: Thomas Monjalon <thomas.monjalon@6wind.com>
Acked-by: Olivier Matz <olivier.matz@6wind.com>
2016-07-25 22:20:51 +02:00
..
Makefile mempool: add stack mempool handler 2016-07-01 12:35:57 +02:00
rte_mempool_ops.c mempool: fix missing registration of free function 2016-07-21 23:15:47 +02:00
rte_mempool_ring.c mempool: support handler operations 2016-06-24 11:01:05 +02:00
rte_mempool_stack.c mempool: add stack mempool handler 2016-07-01 12:35:57 +02:00
rte_mempool_version.map mempool: rename functions with confusing names 2016-07-01 12:35:57 +02:00
rte_mempool.c mempool: fix unsafe removal from list by callback 2016-07-25 22:20:51 +02:00
rte_mempool.h mempool: adjust name size in related data types 2016-07-21 23:13:55 +02:00