[dpdk-dev] [PATCH] vfio: fix boundary check in region search
Thomas Monjalon
thomas at monjalon.net
Mon Apr 23 21:26:44 CEST 2018
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 <xiao.w.wang at intel.com>
> > ---
>
> <insert Homer Simpson "D'oh!" pic here>
_ ,___,-'",-=-.
__,-- _ _,-'_)_ (""`'-._\ `.
_,' __ |,' ,-' __) ,- /. |
,'_,--' | -' _)/ `\
,',' ,' ,-'_,` :
,' ,-' ,(,-( :
,' ,-' , _ ;
/ ,-._/`---' /
/ (____)(----. ) ,'
/ ( `.__, /\ /,
: ;-.___ /__\/|
| ,' `--. -,\ |
: / \ .__/
\ (__ \ |_
\ ,`-, * / _|,\
\ ,' `-. ,'_,-' \
(_\,-' ,'\")--,'-' __\
\ / // ,'| ,--' `-.
`-. `-/ \' | _,' `.
`-._ / `--'/ \
-hrr- ,' | \
/ | \
,-' | /
/ | -'
> Acked-by: Anatoly Burakov <anatoly.burakov at intel.com>
Applied, thanks
More information about the dev
mailing list