[dpdk-stable] [dpdk-dev] [PATCH] mempool: fix anonymous populate
Thomas Monjalon
thomas at monjalon.net
Mon Jan 20 11:08:49 CET 2020
17/01/2020 15:34, Olivier Matz:
> The documentation says that a negative errno is returned on error, but
> in most places that's not the case.
>
> Fix the documentation and the exceptions in code. The second one
> (return from populate_virt) also fixes a memory leak.
>
> Note that testpmd was using the function correctly.
>
> Fixes: aa10457eb4c2 ("mempool: make mempool populate and free api public")
> Fixes: 6780f72fb82f ("mempool: populate with anonymous memory")
> Fixes: 66e7ba0bad4c ("mempool: ensure mempool is initialized before populating")
> Cc: stable at dpdk.org
>
> Signed-off-by: Olivier Matz <olivier.matz at 6wind.com>
Applied, thanks
More information about the stable
mailing list