From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Burakov, Anatoly" Subject: Re: [PATCH] lpm: fix allocation of an existing object Date: Wed, 31 Jan 2018 13:30:42 +0000 Message-ID: <880ffdc1-352a-67c7-06e8-8eb0200d941b@intel.com> References: <20180130185154.20095-1-pbhagavatula@caviumnetworks.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit To: dev@dpdk.org Return-path: Received: from mga18.intel.com (mga18.intel.com [134.134.136.126]) by dpdk.org (Postfix) with ESMTP id 21A301B780 for ; Wed, 31 Jan 2018 14:30:44 +0100 (CET) In-Reply-To: <20180130185154.20095-1-pbhagavatula@caviumnetworks.com> Content-Language: en-US List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 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 > --- Reviewed-by: Anatoly Burakov -- Thanks, Anatoly