VirtualBox

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


Ignore:
Timestamp:
Jul 26, 2021 7:55:53 PM (4 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
145910
Message:
  • VMM: Pass pVM to PDMCritSect APIs. bugref:9218 bugref:10074
  • DrvNetShaper: Do bandwidth allocation via PDMDrvHlp. bugref:10074
File:
1 edited

Legend:

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

    r90330 r90346  
    130130    STAM_REL_COUNTER_INC(&pThis->StatXmitPktsRequested);
    131131#if defined(IN_RING3) || defined(IN_RING0)
    132     if (!PDMNsAllocateBandwidth(&pThis->Filter, cbMin))
     132    if (!PDMDrvHlpNetShaperAllocateBandwidth(pThis->CTX_SUFF(pDrvIns), &pThis->Filter, cbMin))
    133133    {
    134134        STAM_REL_COUNTER_ADD(&pThis->StatXmitBytesDenied, cbMin);
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