From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH v2] ip_frag: free mbufs on reassembly table destroy Date: Thu, 22 Jun 2017 17:56:29 +0200 Message-ID: <1918941.YOME2ufcob@xps> References: <20170425170450.173221-1-allain.legacy@windriver.com> <20170605154901.110312-1-allain.legacy@windriver.com> <2601191342CEEE43887BDE71AB9772583FB05ED1@IRSMSX109.ger.corp.intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: dev@dpdk.org, "Ananyev, Konstantin" To: "Legacy, Allain (Wind River)" , "Osman, Dahir (Wind River)" Return-path: Received: from out3-smtp.messagingengine.com (out3-smtp.messagingengine.com [66.111.4.27]) by dpdk.org (Postfix) with ESMTP id 81D83548B for ; Thu, 22 Jun 2017 17:56:30 +0200 (CEST) In-Reply-To: <2601191342CEEE43887BDE71AB9772583FB05ED1@IRSMSX109.ger.corp.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" > > From: Dahir Osman > > > > The rte_ip_frag_table_destroy procedure simply releases the memory for the > > table without freeing the packet buffers that may be referenced in the hash > > table for in-flight or incomplete packet reassembly operations. To prevent > > leaked mbufs go through the list of fragments and free each one > > individually. > > > > Fixes: 416707812c03 ("ip_frag: refactor reassembly code into a proper library") > > > > Reported-by: Matt Peters > > Signed-off-by: Allain Legacy > > Acked-by: Konstantin Ananyev Applied, thanks