VirtualBox

Changeset 88372 in vbox for trunk/src/VBox/Devices/Network


Ignore:
Timestamp:
Apr 6, 2021 6:17:00 PM (4 years ago)
Author:
vboxsync
Message:

Dev/E1000: (bugref:9850) Relax RDT checks a tiny bit to fix OS/2 guest regression caused by r141975.

File:
1 edited

Legend:

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

    r87773 r88372  
    17381738        return VINF_SUCCESS;
    17391739    }
    1740     if (pContext->rdt >= cRxRingSize)
    1741     {
    1742         Log(("%s e1kUpdateRxDContext: called from %s, will return false because RDT too big (%u >= %u)\n",
     1740    if (pContext->rdt > cRxRingSize)
     1741    {
     1742        Log(("%s e1kUpdateRxDContext: called from %s, will return false because RDT too big (%u > %u)\n",
    17431743             pThis->szPrf, pcszCallee, pContext->rdt, cRxRingSize));
    17441744        return VINF_SUCCESS;
     
    17471747    RT_NOREF(pcszCallee);
    17481748#endif /* !DEBUG */
    1749     return pContext->rdh < cRxRingSize && pContext->rdt < cRxRingSize; // && (RCTL & RCTL_EN);
     1749    return pContext->rdh < cRxRingSize && pContext->rdt <= cRxRingSize; // && (RCTL & RCTL_EN);
    17501750}
    17511751#endif /* E1K_WITH_RXD_CACHE */
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