mirror of
https://github.com/reactos/reactos.git
synced 2025-01-01 03:54:02 +00:00
- Send all waiting packets instead of only the first one to prevent a buildup of queued packets on a non-sendable NCE which becomes sendable later
svn path=/trunk/; revision=42076
This commit is contained in:
parent
9c61a1e9ae
commit
2fe1aab7fe
1 changed files with 3 additions and 3 deletions
|
@ -40,9 +40,9 @@ VOID NBSendPackets( PNEIGHBOR_CACHE_ENTRY NCE ) {
|
|||
HashValue &= NB_HASHMASK;
|
||||
|
||||
/* Send any waiting packets */
|
||||
PacketEntry = ExInterlockedRemoveHeadList(&NCE->PacketQueue,
|
||||
&NeighborCache[HashValue].Lock);
|
||||
if( PacketEntry != NULL ) {
|
||||
while ((PacketEntry = ExInterlockedRemoveHeadList(&NCE->PacketQueue,
|
||||
&NeighborCache[HashValue].Lock)) != NULL)
|
||||
{
|
||||
Packet = CONTAINING_RECORD( PacketEntry, NEIGHBOR_PACKET, Next );
|
||||
|
||||
TI_DbgPrint
|
||||
|
|
Loading…
Reference in a new issue