From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 71237A046B for ; Mon, 19 Aug 2019 16:48:44 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 32BA41BE81; Mon, 19 Aug 2019 16:48:44 +0200 (CEST) Received: from mga06.intel.com (mga06.intel.com [134.134.136.31]) by dpdk.org (Postfix) with ESMTP id E825D1B994 for ; Mon, 19 Aug 2019 16:48:42 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga007.jf.intel.com ([10.7.209.58]) by orsmga104.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 19 Aug 2019 07:48:41 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.64,405,1559545200"; d="scan'208";a="168769208" Received: from aburakov-mobl1.ger.corp.intel.com (HELO [10.252.27.20]) ([10.252.27.20]) by orsmga007.jf.intel.com with ESMTP; 19 Aug 2019 07:48:40 -0700 To: Arnon Warshavsky , dev@dpdk.org, david.marchand@redhat.com, john.mcnamara@intel.com References: <1566110854-2669-1-git-send-email-arnon@qwilt.com> <1566223064-19932-1-git-send-email-arnon@qwilt.com> From: "Burakov, Anatoly" Message-ID: <0ee1f694-b2c6-43fc-6eef-988ef5e11746@intel.com> Date: Mon, 19 Aug 2019 15:48:39 +0100 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.8.0 MIME-Version: 1.0 In-Reply-To: <1566223064-19932-1-git-send-email-arnon@qwilt.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Subject: Re: [dpdk-dev] [PATCH v2] eal: unmap undesired address upon config reattach failure 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: , Errors-To: dev-bounces@dpdk.org Sender: "dev" On 19-Aug-19 2:57 PM, Arnon Warshavsky wrote: > Have rte_eal_config_reattach clean up the mapped address > which is a valid address but not the one intended. > > Coverity issue: 343439 > Fixes: 4e8854ae89fa ("eal: do not panic on shared memory init") > Fixes: b149a7064261 ("eal/freebsd: add config reattach in secondary") > Signed-off-by: Arnon Warshavsky > --- Acked-by: Anatoly Burakov -- Thanks, Anatoly