Page MenuHomeFreeBSD

D34978.diff
No OneTemporary

D34978.diff

diff --git a/sys/dev/iommu/iommu_gas.c b/sys/dev/iommu/iommu_gas.c
--- a/sys/dev/iommu/iommu_gas.c
+++ b/sys/dev/iommu/iommu_gas.c
@@ -305,7 +305,7 @@
a->entry->start = roundup2(beg + IOMMU_PAGE_SIZE,
a->common->alignment);
- if (a->entry->start + a->size > maxaddr)
+ if (a->entry->start + a->offset + a->size > maxaddr)
return (false);
/* IOMMU_PAGE_SIZE to create gap after new entry. */

File Metadata

Mime Type
text/plain
Expires
Tue, Jan 28, 3:52 AM (8 m, 10 s)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
16245350
Default Alt Text
D34978.diff (409 B)

Event Timeline