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 81D83548B for ; Thu, 22 Jun 2017 17:56:30 +0200 (CEST) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id 1A7BE20843; Thu, 22 Jun 2017 11:56:30 -0400 (EDT) Received: from frontend1 ([10.202.2.160]) by compute1.internal (MEProxy); Thu, 22 Jun 2017 11:56:30 -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:x-sasl-enc; s=mesmtp; bh=DlVeR6BAJyeU6He wmfVxQwK3BU6SVMLEtJzgfx3uaeQ=; b=N1rUK8uU0nUv/bekFOMLQFSgGJxauFm HLH7U2ZXsfhKoM2iuL/SxC/ol6BlEaG2jIS+Qkb7vykR857aOFdiSCRHWSY1AX52 pJjRe+kzytChWa39bHZSDOh+m2ISoEl+om18gQBMBd6Jfn4ZF5ApkLo30CI/hayC QsvUymcRU8cc= 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:x-sasl-enc; s= fm1; bh=DlVeR6BAJyeU6HewmfVxQwK3BU6SVMLEtJzgfx3uaeQ=; b=RbumC1b8 24/kGctuo3skTKMY8HZ7xOvsRw9ZCVssZdGbKxd05sm87qYRrnij/t8f/7Dq9n6k vB+BHkQKsWBchCpYVmNoD7B3CShmGYgTd5VdryuoW+XHZKzREIFM6SZjjykqSt3J 0nMxrQqWxAr+MtKOaKWm+Fo96stmDbMXjwBbv4F85sF0x+NWzsvT4tgdthz5I/LX JYiP5EMJhcuxNjTKNuNWJ4Qag/vGaRWIZZ+03RnKO3gcG+XL5IuL4HIrwJlhdh9b Dafos0PJeAB41Dtc/Hqk94s1y2razaJ4IpnXL/BdScpEvtYIyUkeaFS1zosbIO6L PiRz0UJqnPswNA== X-ME-Sender: X-Sasl-enc: lo1CFoKE2u4AlQWIj0hS9lx7hhJm4bs1PxLxnWJJJnHM 1498146989 Received: from xps.localnet (184.203.134.77.rev.sfr.net [77.134.203.184]) by mail.messagingengine.com (Postfix) with ESMTPA id C18427E76A; Thu, 22 Jun 2017 11:56:29 -0400 (EDT) From: Thomas Monjalon To: "Legacy, Allain (Wind River)" , "Osman, Dahir (Wind River)" Cc: dev@dpdk.org, "Ananyev, Konstantin" Date: Thu, 22 Jun 2017 17:56:29 +0200 Message-ID: <1918941.YOME2ufcob@xps> In-Reply-To: <2601191342CEEE43887BDE71AB9772583FB05ED1@IRSMSX109.ger.corp.intel.com> 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-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [PATCH v2] ip_frag: free mbufs on reassembly table destroy 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: Thu, 22 Jun 2017 15:56:30 -0000 > > 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