]> git.baikalelectronics.ru Git - kernel.git/commit
vfio/type1: check dma map request is within a valid iova range
authorShameer Kolothum <shameerali.kolothum.thodi@huawei.com>
Tue, 23 Jul 2019 16:06:35 +0000 (17:06 +0100)
committerAlex Williamson <alex.williamson@redhat.com>
Mon, 19 Aug 2019 19:55:50 +0000 (13:55 -0600)
commit33059e92fd03d0783123758e84a10146946e28d6
tree5d354772c165737acb59daee18f3cc24c004a7f3
parent5152ea479fc1f23b077bacce0b14caf3ca21e16b
vfio/type1: check dma map request is within a valid iova range

This checks and rejects any dma map request outside valid iova
range.

Signed-off-by: Shameer Kolothum <shameerali.kolothum.thodi@huawei.com>
Reviewed-by: Eric Auger <eric.auger@redhat.com>
Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
drivers/vfio/vfio_iommu_type1.c