From: Bruce Richardson Subject: Re: [PATCH] net/i40e: fix unexpected mbuf free in vPMD Date: Tue, 10 Oct 2017 09:48:08 +0100 Message-ID: <20171010084807.GA34984@bricha3-MOBL3.ger.corp.intel.com> References: <20171010132205.72173-1-qi.z.zhang@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: konstantin.ananyev@intel.com, jingjing.wu@intel.com, beilei.xing@intel.com, dev@dpdk.org, stable@dpdk.org To: Qi Zhang , Roger B Melton Return-path: Content-Disposition: inline In-Reply-To: <20171010132205.72173-1-qi.z.zhang@intel.com> List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" +Roger Melton On Tue, Oct 10, 2017 at 09:22:05AM -0400, Qi Zhang wrote: > vPMD tx does not set sw_ring's mbuf to NULL after free it. > So to prevent same mbuf be free again, we need more carefully > check in i40e_tx_queue_release_mbufs. > > Fixes: b4669bb95038 ("i40e: add vector Tx") > Cc: stable@dpdk.org > > Signed-off-by: Qi Zhang > --- > v2: > - fix at i40e_tx_queue_release_mbufs so no performance impact. > This patch also supercedes this one, http://dpdk.org/dev/patchwork/patch/29814/ right? Roger, can you please confirm that this alternative fix works in your testing and that your patch is no longer necessary too. Thanks, /Bruce