Hi Pavan, Good catch! Thank you for fixing it. It's my negligence.
Thanks Zhiyong > -----Original Message----- > From: Pavan Nikhilesh [mailto:[email protected]] > Sent: Wednesday, January 31, 2018 2:52 AM > To: [email protected]; Yang, Zhiyong <[email protected]>; Yigit, > Ferruh <[email protected]>; [email protected]; De Lara Guarch, > Pablo <[email protected]> > Cc: [email protected]; Pavan Nikhilesh <[email protected]> > 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 <[email protected]> > ---

