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

Burakov, Anatoly anatoly.burakov at intel.com
Wed Jan 31 14:30:42 CET 2018


On 30-Jan-18 6:51 PM, Pavan Nikhilesh wrote:
> 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>
> ---

Reviewed-by: Anatoly Burakov <anatoly.burakov at intel.com>

-- 
Thanks,
Anatoly


More information about the dev mailing list