From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH] app/pdump: cleanup rte rings upon failures Date: Fri, 22 Jul 2016 17:58:13 +0200 Message-ID: <1693429.JxOeB0lzyH@xps13> References: <1469195044-19018-1-git-send-email-reshma.pattan@intel.com> <57922B75.6070102@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: dev@dpdk.org, Ferruh Yigit To: Reshma Pattan Return-path: Received: from mail-wm0-f54.google.com (mail-wm0-f54.google.com [74.125.82.54]) by dpdk.org (Postfix) with ESMTP id 394E3558B for ; Fri, 22 Jul 2016 17:58:15 +0200 (CEST) Received: by mail-wm0-f54.google.com with SMTP id o80so72657059wme.1 for ; Fri, 22 Jul 2016 08:58:15 -0700 (PDT) In-Reply-To: <57922B75.6070102@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" 2016-07-22 15:19, Ferruh Yigit: > 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 Applied, thanks