From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by dpdk.org (Postfix) with ESMTP id A84452BD1 for ; Fri, 22 Apr 2016 11:54:32 +0200 (CEST) Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by orsmga101.jf.intel.com with ESMTP; 22 Apr 2016 02:54:31 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.24,516,1455004800"; d="scan'208";a="89903329" Received: from irsmsx154.ger.corp.intel.com ([163.33.192.96]) by fmsmga004.fm.intel.com with ESMTP; 22 Apr 2016 02:54:32 -0700 Received: from irsmsx155.ger.corp.intel.com (163.33.192.3) by IRSMSX154.ger.corp.intel.com (163.33.192.96) with Microsoft SMTP Server (TLS) id 14.3.248.2; Fri, 22 Apr 2016 10:54:29 +0100 Received: from irsmsx105.ger.corp.intel.com ([169.254.7.35]) by irsmsx155.ger.corp.intel.com ([169.254.14.51]) with mapi id 14.03.0248.002; Fri, 22 Apr 2016 10:54:29 +0100 From: "Ananyev, Konstantin" To: cychong , "dev@dpdk.org" Thread-Topic: [dpdk-dev] [PATCH] ip_frag : Fix double-free of chained mbufs Thread-Index: AQHRm/N25Q3MB1X/mECqAR0/I+vSRJ+VwaOw Date: Fri, 22 Apr 2016 09:54:29 +0000 Message-ID: <2601191342CEEE43887BDE71AB97725836B40B0B@irsmsx105.ger.corp.intel.com> References: <1461259681-67118-1-git-send-email-cychong@gmail.com> In-Reply-To: <1461259681-67118-1-git-send-email-cychong@gmail.com> Accept-Language: en-IE, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiYjNjODM0NmUtNzI1Mi00NGQyLWExNTAtOWJhZDFlNjViNzE3IiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX0lDIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE1LjkuNi42IiwiVHJ1c3RlZExhYmVsSGFzaCI6InNwNEszQ1daNkpaM01Fd2NJWGV0ZnNlamtJWFBjVjV2cVNnXC9QS1ZYd3lZPSJ9 x-ctpclassification: CTP_IC x-originating-ip: [163.33.239.181] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dpdk-dev] [PATCH] ip_frag : Fix double-free of chained mbufs X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 22 Apr 2016 09:54:33 -0000 > -----Original Message----- > From: dev [mailto:dev-bounces@dpdk.org] On Behalf Of cychong > Sent: Thursday, April 21, 2016 6:28 PM > To: dev@dpdk.org > Cc: cychong@gmail.com > Subject: [dpdk-dev] [PATCH] ip_frag : Fix double-free of chained mbufs >=20 > If any fragment hole is found in ipv4_frag_reassemble() and ipv6_frag_rea= ssemble(), > whole ip_frag_pkt mbufs are moved to death-row. Any mbufs already chained= to > another mbuf are freed multiple times as there are still in ip_frag_pkt a= rray. >=20 > Signed-off-by: cychong > --- Acked-by: Konstantin Ananyev