From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from out5-smtp.messagingengine.com (out5-smtp.messagingengine.com [66.111.4.29]) by dpdk.org (Postfix) with ESMTP id 185052862 for ; Wed, 7 Nov 2018 00:10:30 +0100 (CET) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id 910532219D; Tue, 6 Nov 2018 18:10:29 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute1.internal (MEProxy); Tue, 06 Nov 2018 18:10:29 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding:content-type; s=mesmtp; bh=7V1khnwviuPOdsqpkiaKNjRMYRhWR/pG75pn8sliNDE=; b=SttUtl80ozSO gpZfq2qmlW+x9MfknjgQMfHm9owFi75tEvrl4aDY8Ar0N+2pCA1yqo08AxXsvvck y1mTASRQWTLjDOlkuezI6D1J905g4ZtWE/LnGzKhe86RGLgumUmD7tU1QhDTep5i cnYfkDUuH7jN2NqBSTpK2XXomy+JFWk= 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-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm1; bh=7V1khnwviuPOdsqpkiaKNjRMYRhWR/pG75pn8sliN DE=; b=NIzRoF10dj7VgfkdBYUh5UuJlQapmqI0xzC2XnTQd9oSngU9WqDcRc7CG 2E38eY097zf815wRJReZvkQX8WLzVW96ndGnw4SG4dUSVxps/steD/2HsPo+TDqT pUszI+YHf/VG1BTtDrbDhMxhqP15AoVnvbFGp1MdZ56O/WkyNjP3B0/BknJ44KRX jU/9O+96/ue2o7TxYBkoHfITpRmHD/dSUiWdzByXFOErNoae66kIN+KKHESINYgX ez64M00rX8vQ3IBALWeYnBA575G5DOumltNatIZwY9cy+qKEEs7qq3NInWv7CvgK e9zVpB81vqRl/hbPq3yC8kTJPnoZg== X-ME-Sender: X-ME-Proxy: Received: from xps.localnet (184.203.134.77.rev.sfr.net [77.134.203.184]) by mail.messagingengine.com (Postfix) with ESMTPA id 1D5B9102DE; Tue, 6 Nov 2018 18:10:28 -0500 (EST) From: Thomas Monjalon To: Stephen Hemminger Cc: dev@dpdk.org Date: Wed, 07 Nov 2018 00:10:25 +0100 Message-ID: <2208397.5mL6VcYqBX@xps> In-Reply-To: <20181106214901.1392-5-stephen@networkplumber.org> References: <20181106214901.1392-1-stephen@networkplumber.org> <20181106214901.1392-5-stephen@networkplumber.org> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [RFC 4/5] eal/memory: avoid double munmap in error path 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: Tue, 06 Nov 2018 23:10:30 -0000 06/11/2018 22:49, Stephen Hemminger: > Don't call munmap of hugepage memory twice in the error path. > > Coverity issue: 325730 > Fixes: 66cc45e293ed ("mem: replace memseg with memseg lists") > Signed-off-by: Stephen Hemminger Thank you Anatoly submitted the same fix: https://patches.dpdk.org/patch/47898/