[dpdk-dev] [PATCH] lpm: fix allocation of an existing object

Yang, Zhiyong zhiyong.yang at intel.com
Thu Feb 1 02:52:09 CET 2018


Hi Pavan,

Good catch!  Thank you for fixing it.  It's my negligence.  

Thanks
Zhiyong

> -----Original Message-----
> From: Pavan Nikhilesh [mailto:pbhagavatula at caviumnetworks.com]
> Sent: Wednesday, January 31, 2018 2:52 AM
> To: thomas at monjalon.net; Yang, Zhiyong <zhiyong.yang at intel.com>; Yigit,
> Ferruh <ferruh.yigit at intel.com>; olivier.matz at 6wind.com; De Lara Guarch,
> Pablo <pablo.de.lara.guarch at intel.com>
> Cc: dev at dpdk.org; Pavan Nikhilesh <pbhagavatula at caviumnetworks.com>
> Subject: [dpdk-dev] [PATCH] lpm: fix allocation of an existing object
> 
> Fix rte_lpm_create_*() functions to return NULL and set rte_errno to EEXIST
> when lpm object name already exists.
> This is the behavior described in the API documentation in the header file.
> 
> Fixes: 134975073af3 ("lib: remove unnecessary pointer cast")
> 
> Signed-off-by: Pavan Nikhilesh <pbhagavatula at caviumnetworks.com>
> ---


More information about the dev mailing list