[NDISUIO]

- Another addendum to r67107: don't let CleanupAndFreePacket try to free the buffer since it does not have the correct pointer
CORE-8210

svn path=/trunk/; revision=67110
This commit is contained in:
Thomas Faber 2015-04-09 10:36:35 +00:00
parent dceb52e202
commit 02ae5f591c

View file

@ -187,7 +187,7 @@ NduReceive(NDIS_HANDLE ProtocolBindingContext,
if (Status != NDIS_STATUS_SUCCESS) if (Status != NDIS_STATUS_SUCCESS)
{ {
DPRINT1("Failed to transfer data with status 0x%x\n", Status); DPRINT1("Failed to transfer data with status 0x%x\n", Status);
CleanupAndFreePacket(Packet, TRUE); CleanupAndFreePacket(Packet, FALSE);
ExFreePool(PacketBuffer); ExFreePool(PacketBuffer);
return NDIS_STATUS_NOT_ACCEPTED; return NDIS_STATUS_NOT_ACCEPTED;
} }