VirtualBox

Ignore:
Timestamp:
Aug 4, 2008 6:13:10 PM (16 years ago)
Author:
vboxsync
Message:

intnet: won't age address cache entries.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/Network/SrvIntNetR0.cpp

    r11117 r11119  
    943943        if (fReplace)
    944944        {
    945             /* simple FIFO, might consider usage/ageing here? */
     945            /* simple FIFO, might consider usage/ageing here... */
    946946            Log(("intnetR0IfAddrCacheAddIt: type=%d replacing %.*Rhxs\n",
    947947                 (int)(uintptr_t)(pCache - &pIf->aAddrCache[0]), pCache->cbAddress, pCache->pbEntries));
     
    985985    {
    986986        if (RT_LIKELY(intnetR0AddrUIsEqualEx((PCRTNETADDRU)pbEntry, pAddr, cbAddr)))
    987         {
    988             /** @todo usage/ageing? */
    989987            return;
    990         }
    991988        pbEntry += pCache->cbEntry;
    992989        i--;
     
    10211018                      || (i > 1
    10221019                          && intnetR0AddrUIsEqualEx((PCRTNETADDRU)(pCache->pbEntries + pCache->cbEntry * i), pAddr, cbAddr))) ))
    1023     {
    1024         /** @todo usage/ageing? */
    10251020        return;
    1026     }
    10271021    intnetR0IfAddrCacheAddSlow(pIf, pCache, pAddr, cbAddr, pszMsg);
    10281022}
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette