mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-08-29 12:23:30 +00:00
[TCPIP]
- Fix a potential double-completion of an IRP svn path=/trunk/; revision=54331
This commit is contained in:
@@ -1516,14 +1516,11 @@ NTSTATUS DispTdiSetInformationEx(
|
||||
return Irp->IoStatus.Status;
|
||||
}
|
||||
|
||||
Status = DispPrepareIrpForCancel(TranContext, Irp, NULL);
|
||||
if (NT_SUCCESS(Status)) {
|
||||
Request.RequestNotifyObject = DispDataRequestComplete;
|
||||
Request.RequestContext = Irp;
|
||||
Request.RequestNotifyObject = NULL;
|
||||
Request.RequestContext = NULL;
|
||||
|
||||
Status = InfoTdiSetInformationEx(&Request, &Info->ID,
|
||||
Status = InfoTdiSetInformationEx(&Request, &Info->ID,
|
||||
&Info->Buffer, Info->BufferSize);
|
||||
}
|
||||
|
||||
return Status;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user