From mboxrd@z Thu Jan 1 00:00:00 1970 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) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=6wind-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:user-agent:in-reply-to :references:mime-version:content-transfer-encoding; bh=UVG8TG30ilNjtGeUyQeXaMKeIKNus6/d5aV9e05LrXU=; b=g3r7lYJe3hkkpKoNkv22oQyEiyOz837ndqi53WNJfEO7NzU24k+YI4tjOVt8m9TL+0 jG9LnGsooyu/OEHHPhAWmS+UfHqbDCEGRT/jPCnCb5jAFxqKs/eqjvLoZICJjZICyU8D 5x2vQZwIPkLFraanTS0piNZl7tuM+1J8V+OV2rmvlaXa40OH4ZHcWQWIKj9AI+3VPEjP cBzD6WVj9f5A0D3WWEGWRWz3MrYalY2I+8XOoM4wZVcX1iXKZ4b8iqF5YyiG/NO8z936 +tLwameDLwCheFUe1PWgkZsPqn55V1UU/ByQN161b6OMyNbR5ZqVyI5if/dQmifA6N5g eQoQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:user-agent :in-reply-to:references:mime-version:content-transfer-encoding; bh=UVG8TG30ilNjtGeUyQeXaMKeIKNus6/d5aV9e05LrXU=; b=IXeLTicXhp6OnS8//bxizJqgJZf5vDnwWf004qFehtZmtQEd11Yb53u4ImsyaUY7U6 iMw8HUozNJOBC9zMJIt1mNI6LMk39/eAY7PkHdkDUmYhPcWn9ltUEuwDJ6W3A+lfEejz J2OSQUqtMW2U1f5txcFUfLqIhDFc+3/OEOrR7i4AqtRebCl0xxRfZi3yBNlwjvA1qRXU l6DwJda1Yht0nGMWa0EfxY14ptFWeKPDtQ3O2td2GFbCB/aHjYSeQIh94z/wXs/rN3mD jHvGtrb0u6dWXfZprIT8PXBO+DLFvf+PgQuiaYehZq1438gU5ehX+Ljwrf7vZuchKqb1 e3Iw== X-Gm-Message-State: AEkoouuUvNkd2VtcFlB/zolyqz5fyIJz3hU/odhbH8LZsqYSqCo4ocAe3qGG4ZBv717L4o0C X-Received: by 10.195.18.129 with SMTP id gm1mr187131wjd.148.1469182554496; Fri, 22 Jul 2016 03:15:54 -0700 (PDT) Received: from xps13.localnet (184.203.134.77.rev.sfr.net. [77.134.203.184]) by smtp.gmail.com with ESMTPSA id c16sm11835486wme.4.2016.07.22.03.15.52 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 22 Jul 2016 03:15:53 -0700 (PDT) From: Thomas Monjalon To: "Chokkalingam, SankarX" Cc: dev@dpdk.org, cristian.dumitrescu@intel.com Date: Fri, 22 Jul 2016 12:15:51 +0200 Message-ID: <2403094.g35zX3TV57@xps13> User-Agent: KMail/4.14.10 (Linux/4.5.4-1-ARCH; KDE/4.14.11; x86_64; ; ) In-Reply-To: <1468863178-22458-1-git-send-email-sankarx.chokkalingam@intel.com> References: <1468863178-22458-1-git-send-email-sankarx.chokkalingam@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [PATCH] ip_pipeline: Fix for action flow bulk command error X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 22 Jul 2016 10:15:54 -0000 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