From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH] ip_pipeline: Fix for action flow bulk command error Date: Fri, 22 Jul 2016 12:15:51 +0200 Message-ID: <2403094.g35zX3TV57@xps13> References: <1468863178-22458-1-git-send-email-sankarx.chokkalingam@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: dev@dpdk.org, cristian.dumitrescu@intel.com To: "Chokkalingam, SankarX" Return-path: Received: from mail-wm0-f47.google.com (mail-wm0-f47.google.com [74.125.82.47]) by dpdk.org (Postfix) with ESMTP id B33EF47D1 for ; Fri, 22 Jul 2016 12:15:54 +0200 (CEST) Received: by mail-wm0-f47.google.com with SMTP id f65so51556852wmi.0 for ; Fri, 22 Jul 2016 03:15:54 -0700 (PDT) In-Reply-To: <1468863178-22458-1-git-send-email-sankarx.chokkalingam@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-18 10:32, Chokkalingam, SankarX: > Error while executing action flow bulk command > pipeline> p 1 action flow bulk ./config/action.txt > Command "action flow bulk" failed > pipeline> > > The flow action entries are added successfully. > But the return value is not computed correctly. > Due to this, the error message appears on CLI. > > The return value is computed with rsp->n_flows after rsp pointer is freed. > This fix computes the return value before rsp pointer is freed. > > Signed-off-by: Chokkalingam, SankarX > Acked-by: Cristian Dumitrescu Applied, thanks