From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH] vfio: fix boundary check in region search Date: Mon, 23 Apr 2018 21:26:44 +0200 Message-ID: <1942797.4sxjMZQjx6@xps> References: <20180420151050.36507-1-xiao.w.wang@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: dev@dpdk.org, "Burakov, Anatoly" To: Xiao Wang Return-path: Received: from out3-smtp.messagingengine.com (out3-smtp.messagingengine.com [66.111.4.27]) by dpdk.org (Postfix) with ESMTP id 430E5F04 for ; Mon, 23 Apr 2018 21:26:46 +0200 (CEST) In-Reply-To: List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 20/04/2018 17:23, Burakov, Anatoly: > 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 > > --- > > _ ,___,-'",-=-. __,-- _ _,-'_)_ (""`'-._\ `. _,' __ |,' ,-' __) ,- /. | ,'_,--' | -' _)/ `\ ,',' ,' ,-'_,` : ,' ,-' ,(,-( : ,' ,-' , _ ; / ,-._/`---' / / (____)(----. ) ,' / ( `.__, /\ /, : ;-.___ /__\/| | ,' `--. -,\ | : / \ .__/ \ (__ \ |_ \ ,`-, * / _|,\ \ ,' `-. ,'_,-' \ (_\,-' ,'\")--,'-' __\ \ / // ,'| ,--' `-. `-. `-/ \' | _,' `. `-._ / `--'/ \ -hrr- ,' | \ / | \ ,-' | / / | -' > Acked-by: Anatoly Burakov Applied, thanks