mirror of
https://github.com/reactos/reactos.git
synced 2024-09-10 12:54:51 +00:00
- Release the cancel spin lock before returning
- Revert some unintentional changes made in r35485 svn path=/trunk/; revision=35575
This commit is contained in:
parent
132a5a7354
commit
5194ea09e3
|
@ -179,17 +179,21 @@ VOID NTAPI DispCancelRequest(
|
|||
if( !ChewCreate( &WorkItem, sizeof(DISCONNECT_TYPE),
|
||||
DispDoDisconnect, &DisType ) )
|
||||
ASSERT(0);
|
||||
|
||||
IoReleaseCancelSpinLock(Irp->CancelIrql);
|
||||
return;
|
||||
|
||||
case TDI_SEND_DATAGRAM:
|
||||
if (FileObject->FsContext2 != (PVOID)TDI_TRANSPORT_ADDRESS_FILE) {
|
||||
TI_DbgPrint(MIN_TRACE, ("TDI_SEND_DATAGRAM, but no address file.\n"));
|
||||
break;
|
||||
}
|
||||
break;
|
||||
|
||||
case TDI_RECEIVE_DATAGRAM:
|
||||
if (FileObject->FsContext2 != (PVOID)TDI_TRANSPORT_ADDRESS_FILE) {
|
||||
TI_DbgPrint(MIN_TRACE, ("TDI_RECEIVE_DATAGRAM, but no address file.\n"));
|
||||
break;
|
||||
}
|
||||
|
||||
DGRemoveIRP(TranContext->Handle.AddressHandle, Irp);
|
||||
|
|
Loading…
Reference in a new issue