mirror of
https://github.com/reactos/reactos.git
synced 2024-09-03 17:19:20 +00:00
- These should no longer be needed now that TDI doesn't give back invalid IRPs
- I'll look into the canceling issue later svn path=/branches/aicom-network-fixes/; revision=35014
This commit is contained in:
parent
606652ca08
commit
928b81e97f
|
@ -227,11 +227,6 @@ NTSTATUS NTAPI ReceiveComplete
|
|||
|
||||
ASSERT_IRQL(APC_LEVEL);
|
||||
|
||||
if (Irp->Cancel) {
|
||||
FCB->ReceiveIrp.InFlightRequest = NULL;
|
||||
return STATUS_SUCCESS;
|
||||
}
|
||||
|
||||
if( !SocketAcquireStateLock( FCB ) ) return Status;
|
||||
|
||||
FCB->ReceiveIrp.InFlightRequest = NULL;
|
||||
|
@ -448,11 +443,6 @@ PacketSocketRecvComplete(
|
|||
|
||||
AFD_DbgPrint(MID_TRACE,("Called on %x\n", FCB));
|
||||
|
||||
if (Irp->Cancel) {
|
||||
FCB->ReceiveIrp.InFlightRequest = NULL;
|
||||
return STATUS_SUCCESS;
|
||||
}
|
||||
|
||||
if( !SocketAcquireStateLock( FCB ) ) return STATUS_UNSUCCESSFUL;
|
||||
|
||||
FCB->ReceiveIrp.InFlightRequest = NULL;
|
||||
|
|
|
@ -40,11 +40,6 @@ static NTSTATUS NTAPI SendComplete
|
|||
|
||||
ASSERT_IRQL(APC_LEVEL);
|
||||
|
||||
if (Irp->Cancel) {
|
||||
FCB->SendIrp.InFlightRequest = NULL;
|
||||
return STATUS_SUCCESS;
|
||||
}
|
||||
|
||||
if( !SocketAcquireStateLock( FCB ) ) return Status;
|
||||
|
||||
FCB->SendIrp.InFlightRequest = NULL;
|
||||
|
@ -176,11 +171,6 @@ static NTSTATUS NTAPI PacketSocketSendComplete
|
|||
Irp->IoStatus.Status,
|
||||
Irp->IoStatus.Information));
|
||||
|
||||
if (Irp->Cancel) {
|
||||
FCB->SendIrp.InFlightRequest = NULL;
|
||||
return STATUS_SUCCESS;
|
||||
}
|
||||
|
||||
/* It's ok if the FCB already died */
|
||||
if( !SocketAcquireStateLock( FCB ) ) return STATUS_SUCCESS;
|
||||
|
||||
|
|
Loading…
Reference in a new issue