Skip to content

Commit

Permalink
[HACK] DISPATCH_LEVEL is still broken
Browse files Browse the repository at this point in the history
  • Loading branch information
DarkFire01 committed Nov 25, 2023
1 parent 67d44a8 commit 556b439
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ntoskrnl/ke/dpc.c
Original file line number Diff line number Diff line change
Expand Up @@ -571,6 +571,8 @@ KiRetireDpcList(IN PKPRCB Prcb)
KIRQL OldIrql;
#endif

if (KeGetCurrentIrql() > DISPATCH_LEVEL)
KfLowerIrql(DISPATCH_LEVEL)
/* Get data and list variables before starting anything else */
DpcData = &Prcb->DpcData[DPC_NORMAL];
ListHead = &DpcData->DpcListHead;
Expand Down

0 comments on commit 556b439

Please sign in to comment.