From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <ferruh.yigit@intel.com>
Received: from mga09.intel.com (mga09.intel.com [134.134.136.24])
 by dpdk.org (Postfix) with ESMTP id 92BB847D1
 for <dev@dpdk.org>; Fri, 22 Jul 2016 16:19:36 +0200 (CEST)
Received: from orsmga003.jf.intel.com ([10.7.209.27])
 by orsmga102.jf.intel.com with ESMTP; 22 Jul 2016 07:19:35 -0700
X-ExtLoop1: 1
X-IronPort-AV: E=Sophos;i="5.28,405,1464678000"; d="scan'208";a="851297082"
Received: from fyigit-mobl1.ger.corp.intel.com (HELO [10.237.220.159])
 ([10.237.220.159])
 by orsmga003.jf.intel.com with ESMTP; 22 Jul 2016 07:19:34 -0700
To: Reshma Pattan <reshma.pattan@intel.com>, dev@dpdk.org
References: <1469195044-19018-1-git-send-email-reshma.pattan@intel.com>
From: Ferruh Yigit <ferruh.yigit@intel.com>
Message-ID: <57922B75.6070102@intel.com>
Date: Fri, 22 Jul 2016 15:19:33 +0100
User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:38.0) Gecko/20100101
 Thunderbird/38.7.2
MIME-Version: 1.0
In-Reply-To: <1469195044-19018-1-git-send-email-reshma.pattan@intel.com>
Content-Type: text/plain; charset=windows-1252
Content-Transfer-Encoding: 7bit
Subject: Re: [dpdk-dev] [PATCH] app/pdump: cleanup rte rings upon failures
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, 22 Jul 2016 14:19:37 -0000

On 7/22/2016 2:44 PM, Reshma Pattan wrote:
> Function create_mp_ring_vdev() for failure cases exits without
> freeing the created rte rings, because of this pdump tool cannot be
> rerun successfully. Added rte ring cleanup logic upon failures.
> 
> Fixes: caa7028276b8 ("app/pdump: add tool for packet capturing")
> 
> Signed-off-by: Reshma Pattan <reshma.pattan@intel.com>

Acked-by: Ferruh Yigit <ferruh.yigit@intel.com>