VirtualBox

Changeset 14112 in vbox for trunk/src/VBox/HostDrivers


Ignore:
Timestamp:
Nov 11, 2008 9:27:07 PM (16 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
39185
Message:

Linux hostif: Fixed memory leak. Event handlers added: promiscuous mode handling as well as attaching to device revised.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/HostDrivers/VBoxNetFlt/VBoxNetFltInternal.h

    r14097 r14112  
    149149            /** Pointer to the device. */
    150150            struct net_device volatile *pDev;
    151             struct notifier_block volatile *pNotifier;
    152             /** Whether we've need to set promiscuous mode when the interface comes up. */
    153             bool volatile fNeedSetPromiscuous;
    154151            /** Whether we've successfully put the interface into to promiscuous mode.
    155152             * This is for dealing with the ENETDOWN case. */
    156             bool volatile fSetPromiscuous;
     153            bool volatile fPromiscuousSet;
    157154            /** The MAC address of the interface. */
    158155            RTMAC Mac;
    159             struct packet_type  PacketType;
    160             struct sk_buff_head XmitQueue;
    161             struct work_struct  XmitTask;
     156            struct notifier_block Notifier;
     157            struct packet_type    PacketType;
     158            struct sk_buff_head   XmitQueue;
     159            struct work_struct    XmitTask;
    162160            /** @} */
    163161# elif defined(RT_OS_SOLARIS)
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette