numam-dpdk/lib/librte_mempool
Nipun Gupta f5e9ed5c4e mempool: fix leak if populate fails
This patch fixes the issue of memzone not being freed incase the
rte_mempool_populate_phys fails in the rte_mempool_populate_default

This issue was identified when testing with OVS ~2.6
- configure the system with low memory (e.g. < 500 MB)
- add bridge and dpdk interfaces
- delete brigde
- keep on repeating the above sequence.

Fixes: d1d914ebbc ("mempool: allocate in several memory chunks by default")

Signed-off-by: Nipun Gupta <nipun.gupta@nxp.com>
Acked-by: Olivier Matz <olivier.matz@6wind.com>
2016-11-12 22:27:09 +01: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 leak if populate fails 2016-11-12 22:27:09 +01:00
rte_mempool.h doc: fix file argument of debug functions 2016-10-13 21:25:53 +02:00