VirtualBox

Changeset 45143 in vbox


Ignore:
Timestamp:
Mar 22, 2013 1:58:03 PM (12 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
84459
Message:

solaris/VBoxNetFltBow: fix destroying managed VNICs for VNIC templates.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/HostDrivers/VBoxNetFlt/solaris/VBoxNetFltBow-solaris.c

    r44203 r45143  
    15141514                 * Set the RX receive function.
    15151515                 * This shouldn't be necessary as vboxNetFltPortOsSetActive() will be invoked after this, but in the future,
    1516                  * if the guest NIC changes MAC address this may not be followed by a vboxNetFltPortOsSetActive() call, 
     1516                 * if the guest NIC changes MAC address this may not be followed by a vboxNetFltPortOsSetActive() call,
    15171517                 * so set it here anyway.
    15181518                 */
     
    16541654
    16551655    /*
    1656      * If the underlying interface is not a VNIC, we need to delete the created VNIC.
    1657      */
    1658     if (!pThis->u.s.fIsVNIC)
     1656     * If the underlying interface is a physical interface or a VNIC template, we need to delete the created VNIC.
     1657     */
     1658    if (   !pThis->u.s.fIsVNIC
     1659        || pThis->u.s.fIsVNICTemplate)
    16591660    {
    16601661        /*
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