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
..
2016-06-07 10:02:39 +02:00
2016-07-22 22:41:56 +02:00
2016-06-29 13:33:01 +02:00
2016-07-16 11:13:22 +02:00
2016-06-14 17:24:15 +02:00