Page MenuHomeFreeBSD

D51624.1782740964.diff
No OneTemporary

Size
475 B
Referenced Files
None
Subscribers
None

D51624.1782740964.diff

diff --git a/sys/x86/x86/msi.c b/sys/x86/x86/msi.c
--- a/sys/x86/x86/msi.c
+++ b/sys/x86/x86/msi.c
@@ -219,6 +219,14 @@
struct msi_intsrc *msi = (struct msi_intsrc *)isrc;
msi = msi->msi_first;
+
+ /*
+ * Interrupt sources are always registered, but never unregistered.
+ * Handle the case where MSIs have all been unregistered.
+ */
+ if (msi == NULL)
+ return;
+
msi->msi_enabled--;
if (msi->msi_enabled == 0) {
for (u_int i = 0; i < msi->msi_count; i++)

File Metadata

Mime Type
text/plain
Expires
Mon, Jun 29, 1:49 PM (8 h, 15 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
28984555
Default Alt Text
D51624.1782740964.diff (475 B)

Event Timeline