From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) by dpdk.org (Postfix) with ESMTP id 88F527CB3 for ; Tue, 6 Jun 2017 00:25:39 +0200 (CEST) Received: from orsmga002.jf.intel.com ([10.7.209.21]) by orsmga105.jf.intel.com with ESMTP; 05 Jun 2017 15:25:34 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.39,303,1493708400"; d="scan'208";a="95895836" Received: from irsmsx107.ger.corp.intel.com ([163.33.3.99]) by orsmga002.jf.intel.com with ESMTP; 05 Jun 2017 15:25:33 -0700 Received: from irsmsx109.ger.corp.intel.com ([169.254.13.250]) by IRSMSX107.ger.corp.intel.com ([169.254.10.129]) with mapi id 14.03.0319.002; Mon, 5 Jun 2017 23:25:31 +0100 From: "Ananyev, Konstantin" To: "Legacy, Allain (Wind River)" CC: "dev@dpdk.org" , "Osman, Dahir (Wind River)" Thread-Topic: [PATCH v2] ip_frag: free mbufs on reassembly table destroy Thread-Index: AQHS3hNNACPoRq4EMkikir3BjtnHdaIW2NMg Date: Mon, 5 Jun 2017 22:25:31 +0000 Message-ID: <2601191342CEEE43887BDE71AB9772583FB05ED1@IRSMSX109.ger.corp.intel.com> References: <20170425170450.173221-1-allain.legacy@windriver.com> <20170605154901.110312-1-allain.legacy@windriver.com> In-Reply-To: <20170605154901.110312-1-allain.legacy@windriver.com> Accept-Language: en-IE, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-product: dlpe-windows dlp-version: 10.0.102.7 dlp-reaction: no-action x-originating-ip: [163.33.239.182] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 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: Mon, 05 Jun 2017 22:25:40 -0000 > -----Original Message----- > From: Allain Legacy [mailto:allain.legacy@windriver.com] > Sent: Monday, June 5, 2017 4:49 PM > To: Ananyev, Konstantin > Cc: dev@dpdk.org; Osman, Dahir (Wind River) > Subject: [PATCH v2] ip_frag: free mbufs on reassembly table destroy >=20 > From: Dahir Osman >=20 > The rte_ip_frag_table_destroy procedure simply releases the memory for th= e > table without freeing the packet buffers that may be referenced in the ha= sh > table for in-flight or incomplete packet reassembly operations. To preve= nt > leaked mbufs go through the list of fragments and free each one > individually. >=20 > Fixes: 416707812c03 ("ip_frag: refactor reassembly code into a proper lib= rary") >=20 > Reported-by: Matt Peters > Signed-off-by: Allain Legacy > --- Acked-by: Konstantin Ananyev