[PATCH v2 1/2] mempool: fix rte_errno in rte_mempool_create_empty

Thomas Monjalon thomas at monjalon.net
Wed Feb 12 15:13:19 CET 2025


07/02/2025 15:30, Konstantin Ananyev:
> 
> > 
> > When returning from rte_mempool_set_ops_byname(), rte_errno is not set
> > for error exits.
> > 
> > The API requires rte_errno to be set in that case.
> > 
> > Bugzilla ID: 1559
> > Fixes: c2c6b2f41305 ("mempool: fix default ops for an empty mempool")
> > Link: https://doc.dpdk.org/api/rte__mempool_8h.html#a82e301ee33ed7a263ceb4582655dc3ea
> > Signed-off-by: Ariel Otilibili <ariel.otilibili at 6wind.com>
> 
> Acked-by: Konstantin Ananyev <konstantin.ananyev at huawei.com> 
Acked-by: Chengwen Feng <fengchengwen at huawei.com>

Adding missing Cc: stable at dpdk.org

This patch is applied alone, leaving the second one for consideration or drop.




More information about the stable mailing list