[NTOS:KE] Disable interrupts before lowering IRQL in KiDpcInterruptHandler to avoid stacking up DPC interrupts

This commit is contained in:
Timo Kreuzer
2020-09-20 23:08:17 +02:00
parent 3aaee35629
commit 366e8a840c
+2 -2
View File
@@ -71,9 +71,9 @@ KiDpcInterruptHandler(VOID)
KiSwapContext(APC_LEVEL, OldThread);
}
/* Go back to old irql and disable interrupts */
KeLowerIrql(OldIrql);
/* Disable interrupts and go back to old irql */
_disable();
KeLowerIrql(OldIrql);
}