[ros-diffs] [cgutman] 39293: - Release the cancel spin lock before queuing the work item

cgutman at svn.reactos.org cgutman at svn.reactos.org
Mon Feb 2 23:36:27 CET 2009


Author: cgutman
Date: Mon Feb  2 16:36:26 2009
New Revision: 39293

URL: http://svn.reactos.org/svn/reactos?rev=39293&view=rev
Log:
 - Release the cancel spin lock before queuing the work item

Modified:
    branches/aicom-network-fixes/drivers/network/tcpip/tcpip/dispatch.c

Modified: branches/aicom-network-fixes/drivers/network/tcpip/tcpip/dispatch.c
URL: http://svn.reactos.org/svn/reactos/branches/aicom-network-fixes/drivers/network/tcpip/tcpip/dispatch.c?rev=39293&r1=39292&r2=39293&view=diff
==============================================================================
--- branches/aicom-network-fixes/drivers/network/tcpip/tcpip/dispatch.c [iso-8859-1] (original)
+++ branches/aicom-network-fixes/drivers/network/tcpip/tcpip/dispatch.c [iso-8859-1] Mon Feb  2 16:36:26 2009
@@ -181,11 +181,11 @@
 
 	TCPRemoveIRP( TranContext->Handle.ConnectionContext, Irp );
 
+	IoReleaseCancelSpinLock(Irp->CancelIrql);
+
 	if( !ChewCreate( &WorkItem, sizeof(DISCONNECT_TYPE),
 			 DispDoDisconnect, &DisType ) )
 	    ASSERT(0);
-
-	IoReleaseCancelSpinLock(Irp->CancelIrql);
         return;
 
     case TDI_SEND_DATAGRAM:



More information about the Ros-diffs mailing list