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 34F647CEF for ; Fri, 20 Apr 2018 17:23:54 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga004.jf.intel.com ([10.7.209.38]) by orsmga101.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 20 Apr 2018 08:23:53 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.49,302,1520924400"; d="scan'208";a="193074195" Received: from aburakov-mobl.ger.corp.intel.com (HELO [10.252.23.81]) ([10.252.23.81]) by orsmga004.jf.intel.com with ESMTP; 20 Apr 2018 08:23:52 -0700 To: Xiao Wang Cc: dev@dpdk.org References: <20180420151050.36507-1-xiao.w.wang@intel.com> From: "Burakov, Anatoly" Message-ID: Date: Fri, 20 Apr 2018 16:23:50 +0100 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.7.0 MIME-Version: 1.0 In-Reply-To: <20180420151050.36507-1-xiao.w.wang@intel.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Subject: Re: [dpdk-dev] [PATCH] vfio: fix boundary check in region search 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: Fri, 20 Apr 2018 15:23:54 -0000 On 20-Apr-18 4:10 PM, Xiao Wang wrote: > A previously mapped region is skipped during the search, leading to > DMA unmap fails. > > This patch fixes it and rewords the comment. > > Fixes: 73a639085938 ("vfio: allow to map other memory regions") > > Signed-off-by: Xiao Wang > --- Acked-by: Anatoly Burakov -- Thanks, Anatoly