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

Thomas Monjalon thomas at monjalon.net
Thu Feb 1 00:36:26 CET 2018


31/01/2018 14:30, Burakov, Anatoly:
> 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>

Applied, thanks


More information about the dev mailing list