VirtualBox

Changeset 55711 in vbox for trunk


Ignore:
Timestamp:
May 7, 2015 9:11:54 AM (10 years ago)
Author:
vboxsync
Message:

NetShaper: Prevent assertions due to duplicate lock names when multiple BW groups defined.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMR3/PDMNetShaper.cpp

    r45061 r55711  
    160160        if (RT_SUCCESS(rc))
    161161        {
    162             rc = PDMR3CritSectInit(pShaper->pVM, &pBwGroup->Lock, RT_SRC_POS, "BWGRP");
     162            rc = PDMR3CritSectInit(pShaper->pVM, &pBwGroup->Lock, RT_SRC_POS, "BWGRP-%s", pszBwGroup);
    163163            if (RT_SUCCESS(rc))
    164164            {
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