From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <bruce.richardson@intel.com>
Received: from mga09.intel.com (mga09.intel.com [134.134.136.24])
 by dpdk.org (Postfix) with ESMTP id BDC4F2A5B
 for <dev@dpdk.org>; Fri, 12 Feb 2016 13:06:36 +0100 (CET)
Received: from fmsmga003.fm.intel.com ([10.253.24.29])
 by orsmga102.jf.intel.com with ESMTP; 12 Feb 2016 04:06:35 -0800
X-ExtLoop1: 1
X-IronPort-AV: E=Sophos;i="5.22,435,1449561600"; d="scan'208";a="651197234"
Received: from bricha3-mobl3.ger.corp.intel.com ([10.237.208.63])
 by FMSMGA003.fm.intel.com with SMTP; 12 Feb 2016 04:06:32 -0800
Received: by  (sSMTP sendmail emulation); Fri, 12 Feb 2016 12:06:31 +0025
Date: Fri, 12 Feb 2016 12:06:31 +0000
From: Bruce Richardson <bruce.richardson@intel.com>
To: Rahul Lakkireddy <rahul.lakkireddy@chelsio.com>
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
Content-Disposition: inline
In-Reply-To: <1455277530-13525-1-git-send-email-rahul.lakkireddy@chelsio.com>
Organization: Intel Shannon Ltd.
User-Agent: Mutt/1.5.23 (2014-03-12)
Cc: dev@dpdk.org, Kumar Sanghvi <kumaras@chelsio.com>,
 Nirranjan Kirubaharan <nirranjan@chelsio.com>
Subject: Re: [dpdk-dev] [PATCH] cxgbe: fix memory leak when device
 initialization fails
X-BeenThere: dev@dpdk.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: patches and discussions about DPDK <dev.dpdk.org>
List-Unsubscribe: <http://dpdk.org/ml/options/dev>,
 <mailto:dev-request@dpdk.org?subject=unsubscribe>
List-Archive: <http://dpdk.org/ml/archives/dev/>
List-Post: <mailto:dev@dpdk.org>
List-Help: <mailto:dev-request@dpdk.org?subject=help>
List-Subscribe: <http://dpdk.org/ml/listinfo/dev>,
 <mailto:dev-request@dpdk.org?subject=subscribe>
X-List-Received-Date: Fri, 12 Feb 2016 12:06:37 -0000

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 <seth.arnold@canonical.com>
> Signed-off-by: Rahul Lakkireddy <rahul.lakkireddy@chelsio.com>
> Signed-off-by: Kumar Sanghvi <kumaras@chelsio.com>
> ---
>  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