VirtualBox

Changeset 27714 in vbox for trunk/src/VBox/Main


Ignore:
Timestamp:
Mar 25, 2010 3:37:32 PM (15 years ago)
Author:
vboxsync
Message:

#4750: Do not call NetworkAdapter::Detach on error as it causes a deadlock.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/ConsoleImpl2.cpp

    r27708 r27714  
    26272627            if (!pszColon)
    26282628            {
    2629                 hrc = aNetworkAdapter->Detach();                        H();
     2629                /*
     2630                 * Dynamic changing of attachment causes an attempt to configure
     2631                 * network with invalid host adapter (as it is must be changed before
     2632                 * the attachment), calling Detach here will cause a deadlock.
     2633                 * See #4750.
     2634                 * hrc = aNetworkAdapter->Detach();                        H();
     2635                 */
    26302636                return VMSetError(pVM, VERR_INTERNAL_ERROR, RT_SRC_POS,
    26312637                                  N_("Malformed host interface networking name '%ls'"),
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