[dpdk-dev] [PATCH] mempool: don't leak ring on failure

Ananyev, Konstantin konstantin.ananyev at intel.com
Tue Jun 24 19:48:33 CEST 2014


> 
> On Tue, 24 Jun 2014 16:16:02 +0000
> "Ananyev, Konstantin" <konstantin.ananyev at intel.com> wrote:
> 
> > But now, memzone created for the actual mempool could get leaked instead?
> 
> Since memzone's can't be destroyed, then only solution would be if
> checked if memzone with same name already exists.

Actually, wouldn't it be the better way to create one memzone for both mempool and its ring?
Now we have rte_ring_init().

Konstantin



More information about the dev mailing list