Page MenuHomeFreeBSD

D48812.diff
No OneTemporary

D48812.diff

diff --git a/sys/amd64/vmm/io/ppt.c b/sys/amd64/vmm/io/ppt.c
--- a/sys/amd64/vmm/io/ppt.c
+++ b/sys/amd64/vmm/io/ppt.c
@@ -750,6 +750,9 @@
}
}
+ if (idx >= ppt->msix.num_msgs)
+ return (EINVAL);
+
if ((vector_control & PCIM_MSIX_VCTRL_MASK) == 0) {
/* Tear down the IRQ if it's already set up */
ppt_teardown_msix_intr(ppt, idx);

File Metadata

Mime Type
text/plain
Expires
Tue, May 26, 8:13 AM (10 h, 36 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
33527063
Default Alt Text
D48812.diff (347 B)

Event Timeline