Re: [PATCH] lpm: fix allocation of an existing object
From: Thomas Monjalon <hidden>
Date: 2018-01-31 23:37:13
From: Thomas Monjalon <hidden>
Date: 2018-01-31 23:37:13
31/01/2018 14:30, Burakov, Anatoly:
On 30-Jan-18 6:51 PM, Pavan Nikhilesh wrote:quoted
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 <redacted>Reviewed-by: Anatoly Burakov <redacted>
Applied, thanks