From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ferruh Yigit Subject: Re: [PATCH] net/mlx5: fix redundant free of Tx buffer Date: Thu, 1 Jun 2017 11:33:49 +0100 Message-ID: <3d87bfe6-134c-9e1c-0758-95b0dc886a63@intel.com> References: <20170531174845.35951-1-yskoh@mellanox.com> <20170601080803.GN31330@autoinstall.dev.6wind.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Cc: dev@dpdk.org, adrien.mazarguil@6wind.com, stable@dpdk.org To: =?UTF-8?Q?N=c3=a9lio_Laranjeiro?= , Yongseok Koh Return-path: In-Reply-To: <20170601080803.GN31330@autoinstall.dev.6wind.com> Content-Language: en-US List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" On 6/1/2017 9:08 AM, NĂ©lio Laranjeiro wrote: > On Wed, May 31, 2017 at 10:48:45AM -0700, Yongseok Koh wrote: >> SW completion ring of Tx (txq->elts) stores individual mbufs even if a >> multi-segmented packet is sent. rte_pktmbuf_free_seg() must be used when >> cleaning up the completion ring. Otherwise, chained mbufs are redundantly >> freed and finally it would cause a crash. >> >> CC: stable@dpdk.org >> Fixes: 1d88ba171942 ("net/mlx5: refactor Tx data path") >> >> Signed-off-by: Yongseok Koh > Acked-by: Nelio Laranjeiro Applied to dpdk-next-net/master, thanks.