- Immediately finish a zero-length request in TdiSendDatagram. This may not be completely correct (should possibly get forwarded to tcpip instead) but is better than asserting.
CORE-9810

svn path=/trunk/; revision=68131
This commit is contained in:
Thomas Faber
2015-06-14 07:58:58 +00:00
parent 9df20e14a3
commit e2985287b0
+6
View File
@@ -1175,6 +1175,12 @@ NTSTATUS TdiSendDatagram(
return STATUS_INVALID_PARAMETER;
}
if (BufferLength == 0)
{
AFD_DbgPrint(MID_TRACE, ("Succeeding send with length 0.\n"));
return STATUS_SUCCESS;
}
*Irp = TdiBuildInternalDeviceControlIrp(TDI_SEND_DATAGRAM, /* Sub function */
DeviceObject, /* Device object */
TransportObject, /* File object */