mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-08-30 04:13:33 +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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user