VirtualBox

Ignore:
Timestamp:
Aug 16, 2010 7:32:57 AM (14 years ago)
Author:
vboxsync
Message:

don't enable qdisc support if CONFIG_NET_SCHED is disabled (Linux 2.6.0 already has this config variable)

File:
1 edited

Legend:

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

    r31678 r31680  
    5151#include "../VBoxNetFltInternal.h"
    5252
    53 /*
    54  * Comment out the following line to disable qdisc support.
    55  */
    56 #define VBOXNETFLT_WITH_QDISC
    57 #ifdef VBOXNETFLT_WITH_QDISC
    58 #include <net/pkt_sched.h>
    59 #endif /* VBOXNETFLT_WITH_QDISC */
     53#ifdef CONFIG_NET_SCHED
     54# define VBOXNETFLT_WITH_QDISC /* Comment this out to disable qdisc support */
     55# ifdef VBOXNETFLT_WITH_QDISC
     56# include <net/pkt_sched.h>
     57# endif /* VBOXNETFLT_WITH_QDISC */
     58#endif
    6059
    6160
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