mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-02 04:13:34 +00:00
[AFD]
- 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:
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user