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/net…
==============================================================================
--- 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));