On Mon, Jan 10, 2022 at 3:15 PM Ananyev, Konstantin
<[email protected]> wrote:
>
> > The error value returned by rte_ring_create_elem() should be positive
> > integers. However, if the rte_ring_get_memsize_elem() function fails,
> > a negative number is returned and is directly used as the return value.
> > As a result, this will cause the external call to check the return
> > value to fail(like called by rte_mempool_create()).
> >
> > Fixes: a182620042aa ("ring: get size in memory")
> > Cc: [email protected]
> >
> > Reported-by: Nan Zhou <[email protected]>
> > Signed-off-by: Yunjian Wang <[email protected]>
> Acked-by: Konstantin Ananyev <[email protected]>

Applied, thanks.


-- 
David Marchand

Reply via email to