Re: [dpdk-dev] [PATCH] vfio: fix boundary check in region search

2018-04-23 Thread Thomas Monjalon
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") >

Re: [dpdk-dev] [PATCH] vfio: fix boundary check in region search

2018-04-20 Thread 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 --- Acked-by: Anatoly Burakov

[dpdk-dev] [PATCH] vfio: fix boundary check in region search

2018-04-20 Thread Xiao Wang
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 --- lib/librte_eal/linuxapp/eal/eal_vfio.c | 8 1 file changed, 4