From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ferruh Yigit Subject: Re: [PATCH] app/pdump: cleanup rte rings upon failures Date: Fri, 22 Jul 2016 15:19:33 +0100 Message-ID: <57922B75.6070102@intel.com> References: <1469195044-19018-1-git-send-email-reshma.pattan@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit To: Reshma Pattan , dev@dpdk.org Return-path: Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by dpdk.org (Postfix) with ESMTP id 92BB847D1 for ; Fri, 22 Jul 2016 16:19:36 +0200 (CEST) In-Reply-To: <1469195044-19018-1-git-send-email-reshma.pattan@intel.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 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 Acked-by: Ferruh Yigit