[ros-diffs] [cgutman] 36881: - Mark the irp pending when needed

cgutman at svn.reactos.org cgutman at svn.reactos.org
Wed Oct 22 01:11:33 CEST 2008


Author: cgutman
Date: Tue Oct 21 18:11:33 2008
New Revision: 36881

URL: http://svn.reactos.org/svn/reactos?rev=36881&view=rev
Log:
 - Mark the irp pending when needed

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=36881&r1=36880&r2=36881&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] Tue Oct 21 18:11:33 2008
@@ -405,6 +405,9 @@
       DispDataRequestComplete,
       Irp );
 
+  if (Status == STATUS_PENDING)
+      IoMarkIrpPending(Irp);
+
   TI_DbgPrint(MAX_TRACE, ("TCP Connect returned %08x\n", Status));
 
   return Status;
@@ -587,6 +590,9 @@
 	    DispDataRequestComplete,
 	    Irp );
   }
+
+  if (Status == STATUS_PENDING)
+      IoMarkIrpPending(Irp);
 
   TI_DbgPrint(MID_TRACE,("Leaving %x\n", Status));
 



More information about the Ros-diffs mailing list