From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH v5 1/1] eal: fix resource leak of mapped memory Date: Mon, 20 Jun 2016 11:30:15 +0200 Message-ID: <1560373.Nvd1dFxqEv@xps13> References: <1465993510-13448-1-git-send-email-marcinx.kerlin@intel.com> <1466090040-14865-1-git-send-email-marcinx.kerlin@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: dev@dpdk.org, david.marchand@6wind.com, sergio.gonzalez.monroy@intel.com To: Marcin Kerlin 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 A2A8495D7 for ; Mon, 20 Jun 2016 11:30:17 +0200 (CEST) Received: by mail-wm0-f54.google.com with SMTP id a66so69702739wme.0 for ; Mon, 20 Jun 2016 02:30:17 -0700 (PDT) In-Reply-To: <1466090040-14865-1-git-send-email-marcinx.kerlin@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" 2016-06-16 17:14, Marcin Kerlin: > Patch fixes resource leak in rte_eal_hugepage_attach() where mapped files > were not freed back to the OS in case of failure. Patch uses the behavior > of Linux munmap: "It is not an error if the indicated range does not > contain any mapped pages". > > Coverity issue: 13295, 13296, 13303 > Fixes: af75078fece3 ("first public release") > > Signed-off-by: Marcin Kerlin > Acked-by: Sergio Gonzalez Monroy Applied, thanks