From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH] ip_frag : Fix double-free of chained mbufs Date: Fri, 29 Apr 2016 18:04:19 +0200 Message-ID: <2460188.JJxN0mtaJr@xps13> References: <1461259681-67118-1-git-send-email-cychong@gmail.com> <2601191342CEEE43887BDE71AB97725836B40B0B@irsmsx105.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: cychong Return-path: Received: from mail-wm0-f54.google.com (mail-wm0-f54.google.com [74.125.82.54]) by dpdk.org (Postfix) with ESMTP id 2D37A5592 for ; Fri, 29 Apr 2016 18:04:22 +0200 (CEST) Received: by mail-wm0-f54.google.com with SMTP id a17so43949837wme.0 for ; Fri, 29 Apr 2016 09:04:22 -0700 (PDT) In-Reply-To: <2601191342CEEE43887BDE71AB97725836B40B0B@irsmsx105.ger.corp.intel.com> List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" > > If any fragment hole is found in ipv4_frag_reassemble() and ipv6_frag_reassemble(), > > 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 array. > > > > Signed-off-by: cychong > > Acked-by: Konstantin Ananyev Applied, thanks