Author: cgutman
Date: Mon Nov 7 02:02:59 2011
New Revision: 54331
URL:
http://svn.reactos.org/svn/reactos?rev=54331&view=rev
Log:
[TCPIP]
- Fix a potential double-completion of an IRP
Modified:
trunk/reactos/drivers/network/tcpip/tcpip/dispatch.c
Modified: trunk/reactos/drivers/network/tcpip/tcpip/dispatch.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/network/tcpip/tcpi…
==============================================================================
--- trunk/reactos/drivers/network/tcpip/tcpip/dispatch.c [iso-8859-1] (original)
+++ trunk/reactos/drivers/network/tcpip/tcpip/dispatch.c [iso-8859-1] Mon Nov 7 02:02:59
2011
@@ -1516,14 +1516,11 @@
return Irp->IoStatus.Status;
}
- Status = DispPrepareIrpForCancel(TranContext, Irp, NULL);
- if (NT_SUCCESS(Status)) {
- Request.RequestNotifyObject = DispDataRequestComplete;
- Request.RequestContext = Irp;
-
- Status = InfoTdiSetInformationEx(&Request, &Info->ID,
+ Request.RequestNotifyObject = NULL;
+ Request.RequestContext = NULL;
+
+ Status = InfoTdiSetInformationEx(&Request, &Info->ID,
&Info->Buffer, Info->BufferSize);
- }
return Status;
}