aboutsummaryrefslogtreecommitdiff
path: root/scripts/bpf_doc.py
diff options
context:
space:
mode:
authorEric Farman <[email protected]>2022-07-28 22:49:12 +0200
committerAlex Williamson <[email protected]>2022-08-01 13:36:46 -0600
commit5a4fe7c41b586399d502f9970b077178e5dfbacf (patch)
treea02f71fdfe478945640b940cbd909d070bacc30d /scripts/bpf_doc.py
parent34a255e67615995f729254307a0581c143e03752 (diff)
vfio/ccw: Add length to DMA_UNMAP checks
As pointed out with the simplification of the VFIO_IOMMU_NOTIFY_DMA_UNMAP notifier [1], the length parameter was never used to check against the pinned pages. Let's correct that, and see if a page is within the affected range instead of simply the first page of the range. [1] https://lore.kernel.org/kvm/[email protected]/ Signed-off-by: Eric Farman <[email protected]> Reviewed-by: Matthew Rosato <[email protected]> Reviewed-by: Jason Gunthorpe <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Alex Williamson <[email protected]>
Diffstat (limited to 'scripts/bpf_doc.py')
0 files changed, 0 insertions, 0 deletions