mirror of
https://github.com/reactos/reactos.git
synced 2025-02-22 08:25:03 +00:00
- Small fix for my last commit to prevent problems if ExAllocatePool fails
svn path=/trunk/; revision=52534
This commit is contained in:
parent
72fe2efcf8
commit
fd6bb26299
1 changed files with 1 additions and 2 deletions
|
@ -513,8 +513,6 @@ PacketSocketRecvComplete(
|
|||
SocketStateUnlock(FCB);
|
||||
return Irp->IoStatus.Status;
|
||||
}
|
||||
|
||||
FCB->Recv.Content += Irp->IoStatus.Information;
|
||||
|
||||
DatagramRecv = ExAllocatePool( NonPagedPool, DGSize );
|
||||
|
||||
|
@ -536,6 +534,7 @@ PacketSocketRecvComplete(
|
|||
SocketStateUnlock( FCB );
|
||||
return Status;
|
||||
} else {
|
||||
FCB->Recv.Content += DatagramRecv->Len;
|
||||
InsertTailList( &FCB->DatagramList, &DatagramRecv->ListEntry );
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue