Author: janderwald
Date: Fri Oct 9 18:48:41 2009
New Revision: 43344
URL:
http://svn.reactos.org/svn/reactos?rev=43344&view=rev
Log:
[KS]
- Fix a bug when canceling irps
Modified:
trunk/reactos/drivers/ksfilter/ks/irp.c
Modified: trunk/reactos/drivers/ksfilter/ks/irp.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/ksfilter/ks/irp.c?…
==============================================================================
--- trunk/reactos/drivers/ksfilter/ks/irp.c [iso-8859-1] (original)
+++ trunk/reactos/drivers/ksfilter/ks/irp.c [iso-8859-1] Fri Oct 9 18:48:41 2009
@@ -1690,7 +1690,7 @@
RemoveEntryList(&Irp->Tail.Overlay.ListEntry);
/* release spinlock */
- KeReleaseSpinLockFromDpcLevel(SpinLock);
+ KeReleaseSpinLock(SpinLock, Irp->CancelIrql);
/* has the irp already been canceled */
if (Irp->IoStatus.Status != STATUS_CANCELLED)