mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-01 04:13:35 +00:00
- Check to see that the packet status isn't NDIS_STATUS_RESOURCES before forwarding the packet descriptor to the ReceivePacketHandler
svn path=/trunk/; revision=41349
This commit is contained in:
@@ -277,19 +277,17 @@ MiniIndicateReceivePacket(
|
||||
{
|
||||
AdapterBinding = CONTAINING_RECORD(CurrentEntry, ADAPTER_BINDING, AdapterListEntry);
|
||||
|
||||
if (AdapterBinding->ProtocolBinding->Chars.ReceivePacketHandler)
|
||||
for (i = 0; i < NumberOfPackets; i++)
|
||||
{
|
||||
for (i = 0; i < NumberOfPackets; i++)
|
||||
{
|
||||
if (AdapterBinding->ProtocolBinding->Chars.ReceivePacketHandler &&
|
||||
NDIS_GET_PACKET_STATUS(PacketArray[i]) != NDIS_STATUS_RESOURCES)
|
||||
{
|
||||
(*AdapterBinding->ProtocolBinding->Chars.ReceivePacketHandler)(
|
||||
AdapterBinding->NdisOpenBlock.ProtocolBindingContext,
|
||||
PacketArray[i]);
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
for (i = 0; i < NumberOfPackets; i++)
|
||||
{
|
||||
}
|
||||
else
|
||||
{
|
||||
UINT FirstBufferLength, TotalBufferLength, LookAheadSize, HeaderSize;
|
||||
PNDIS_BUFFER NdisBuffer;
|
||||
PVOID NdisBufferVA, LookAheadBuffer;
|
||||
|
||||
Reference in New Issue
Block a user