From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from out3-smtp.messagingengine.com (out3-smtp.messagingengine.com [66.111.4.27]) by dpdk.org (Postfix) with ESMTP id D2649FB59; Sun, 15 Apr 2018 14:46:41 +0200 (CEST) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id 64CB921BA3; Sun, 15 Apr 2018 08:46:41 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute1.internal (MEProxy); Sun, 15 Apr 2018 08:46:41 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= cc:content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-sender :x-me-sender:x-sasl-enc; s=mesmtp; bh=WaO296Z82VWhyaLOv2Icf57lDR wE5HbKuNkmb+H7nJo=; b=Cb7JSt33yXPtKZNH1wQvI9xG7bGltMSymeRIVq8jd4 kdIDa1o7byxH8j+HYwdrHlC2zKSK9FcSOaLUDbisdQpQQzzb0aXVwDVw1cE45vzB xNVFQaPVzO7CIvsssOl6CoyCsi0hzPbsJ7kmMfPbRkS6MqJkzqzSrL//bLwQ3jR+ A= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-sender:x-me-sender:x-sasl-enc; s=fm2; bh=WaO296 Z82VWhyaLOv2Icf57lDRwE5HbKuNkmb+H7nJo=; b=e09o28+dZGW/0rk2V32/jg GmbuFbIcz3D/sL+gz696yyD/oqpOMCWPX8OmYilg0z6SVULPrgupWnZ4vFcftqtA k4HUnVITQqEcfI0i+00AlkQ9dnOYww9uHh5JIe2/HqujisyxyUFCA0DkpZggOrv9 ruScRvPy7Esz9P/tEuANLI/RJqyrkzFgHMJq06/AGpPvP29W8COQ2uLy+cw5hSjU ybANWbDvGJ7kYezOAUA5nRXG98rHR19+5gZZBI+4IYjU5OUlTaY23SsuVCOfuIO9 lDFwZ0ttWIdJTm02cMrWKhEwlE4ivY4pyDE2ZSafYqODEvqTsGITP+M8RiIuZFgA == X-ME-Sender: Received: from xps.localnet (114.149.6.93.rev.sfr.net [93.6.149.114]) by mail.messagingengine.com (Postfix) with ESMTPA id 77F2210253; Sun, 15 Apr 2018 08:46:40 -0400 (EDT) From: Thomas Monjalon To: "Legacy, Allain (Wind River)" Cc: dev@dpdk.org, "Ananyev, Konstantin" , "Peters, Matt (Wind River)" , "stable@dpdk.org" Date: Sun, 15 Apr 2018 14:46:39 +0200 Message-ID: <1801925.UK3NFUW1rP@xps> In-Reply-To: <2601191342CEEE43887BDE71AB977258AE9139B5@IRSMSX102.ger.corp.intel.com> References: <20180319141833.21669-1-allain.legacy@windriver.com> <20180319142523.22163-1-allain.legacy@windriver.com> <2601191342CEEE43887BDE71AB977258AE9139B5@IRSMSX102.ger.corp.intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [PATCH v2] ip_frag: fix double free of chained mbufs X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 15 Apr 2018 12:46:42 -0000 > > The first mbuf and the last mbuf to be visited in the preceding loop > > are not set to NULL in the fragmentation table. This creates the > > possibility of a double free when the fragmentation table is later freed > > with rte_ip_frag_table_destroy(). > > > > Fixes: 95908f52393d ("ip_frag: free mbufs on reassembly table destroy") Cc: stable@dpdk.org Reminder: this Cc must be saved in the commit message for later backport. > > Signed-off-by: Allain Legacy > > Acked-by: Konstantin Ananyev Applied, thanks