From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH] lpm: fix allocation of an existing object Date: Thu, 01 Feb 2018 00:36:26 +0100 Message-ID: <4284103.3jNts4Mpkd@xps> References: <20180130185154.20095-1-pbhagavatula@caviumnetworks.com> <880ffdc1-352a-67c7-06e8-8eb0200d941b@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: dev@dpdk.org, "Burakov, Anatoly" To: Pavan Nikhilesh Return-path: Received: from out3-smtp.messagingengine.com (out3-smtp.messagingengine.com [66.111.4.27]) by dpdk.org (Postfix) with ESMTP id 3FF311B850 for ; Thu, 1 Feb 2018 00:37:13 +0100 (CET) In-Reply-To: <880ffdc1-352a-67c7-06e8-8eb0200d941b@intel.com> List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 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 > > Reviewed-by: Anatoly Burakov Applied, thanks