From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bruce Richardson Subject: Re: [PATCH] cxgbe: fix memory leak when device initialization fails Date: Fri, 12 Feb 2016 12:06:31 +0000 Message-ID: <20160212120630.GB18808@bricha3-MOBL3> References: <1455277530-13525-1-git-send-email-rahul.lakkireddy@chelsio.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: dev@dpdk.org, Kumar Sanghvi , Nirranjan Kirubaharan To: Rahul Lakkireddy Return-path: Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by dpdk.org (Postfix) with ESMTP id BDC4F2A5B for ; Fri, 12 Feb 2016 13:06:36 +0100 (CET) Content-Disposition: inline In-Reply-To: <1455277530-13525-1-git-send-email-rahul.lakkireddy@chelsio.com> List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" On Fri, Feb 12, 2016 at 05:15:30PM +0530, Rahul Lakkireddy wrote: > Add missing code to free adapter when the device initialization fails. > > Fixes: 8318984927ff ("cxgbe: add pmd skeleton") > > Reported-by: Seth Arnold > Signed-off-by: Rahul Lakkireddy > Signed-off-by: Kumar Sanghvi > --- > drivers/net/cxgbe/cxgbe_ethdev.c | 7 ++++++- > 1 file changed, 6 insertions(+), 1 deletion(-) > You caught me just at a good time - I was just finishing pushing your two other bug fixes when this arrived in. :-) Applied to dpdk-next-net/rel_16_04 Thanks, /Bruce