Author: pschweitzer
Date: Thu Aug 3 20:23:39 2017
New Revision: 75473
URL:
http://svn.reactos.org/svn/reactos?rev=75473&view=rev
Log:
[RXCE]
In spite of what its name may look like: SyncEvent is a notification event, not a sync
event.
Use the correct event for synchronization. This avoids infinite wait in certain
circumstances in RxScavengeFobxsForNetRoot()
CORE-11327
Modified:
trunk/reactos/sdk/lib/drivers/rxce/rxce.c
Modified: trunk/reactos/sdk/lib/drivers/rxce/rxce.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/sdk/lib/drivers/rxce/rxce.…
==============================================================================
--- trunk/reactos/sdk/lib/drivers/rxce/rxce.c [iso-8859-1] (original)
+++ trunk/reactos/sdk/lib/drivers/rxce/rxce.c [iso-8859-1] Thu Aug 3 20:23:39 2017
@@ -7702,7 +7702,7 @@
/* Wait for the scavenger, if asked to */
if (SynchronizeWithScavenger)
{
- KeWaitForSingleObject(&Scavenger->SyncEvent, Executive, KernelMode, FALSE,
NULL);
+ KeWaitForSingleObject(&Scavenger->ScavengeEvent, Executive, KernelMode,
FALSE, NULL);
}
RxAcquireScavengerMutex();
@@ -7767,7 +7767,7 @@
if (SynchronizeWithScavenger)
{
- KeSetEvent(&Scavenger->SyncEvent, IO_NO_INCREMENT, FALSE);
+ KeSetEvent(&Scavenger->ScavengeEvent, IO_NO_INCREMENT, FALSE);
}
}