⬢ DragonFlyBSD Kernel Audit
DF-2390 / fix.diff
← back to finding ↓ download raw
--- a/sys/dev/acpica/acpi_pci_link.c
+++ b/sys/dev/acpica/acpi_pci_link.c
@@ -217,10 +217,12 @@
 			req->in_dpf = DPF_FIRST;
 			break;
 		case DPF_FIRST:
-			/* We've started the second DPF. */
-			panic(
-		"%s: Multiple dependent functions within a current resource",
-			    __func__);
+			/*
+			 * Nested dependent functions: tolerate exactly like
+			 * acpi_count_irq_resources() does (DPF_IGNORE) instead
+			 * of panicking (DF-2390).
+			 */
+			req->in_dpf = DPF_IGNORE;
 			break;
 		}
 		break;