Page MenuHomeFreeBSD

D32589.diff
No OneTemporary

D32589.diff

diff --git a/sys/x86/iommu/intel_ctx.c b/sys/x86/iommu/intel_ctx.c
--- a/sys/x86/iommu/intel_ctx.c
+++ b/sys/x86/iommu/intel_ctx.c
@@ -561,7 +561,7 @@
error = domain_init_rmrr(domain1, dev, bus,
slot, func, dev_domain, dev_busno, dev_path,
dev_path_len);
- if (error == 0)
+ if (error == 0 && dev != NULL)
error = dmar_reserve_pci_regions(domain1, dev);
if (error != 0) {
dmar_domain_destroy(domain1);

File Metadata

Mime Type
text/plain
Expires
Mon, Mar 10, 7:22 PM (12 h, 52 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
17088308
Default Alt Text
D32589.diff (441 B)

Event Timeline