VirtualBox

Ignore:
Timestamp:
Oct 1, 2010 7:57:17 AM (14 years ago)
Author:
vboxsync
Message:

vboxnetflt: qdisc compilation fix for newer kernels (#4814)

File:
1 edited

Legend:

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

    r31705 r32856  
    508508}
    509509
     510# if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 32)
    510511static struct tcf_proto **vboxNetFltClassFindTcf(struct Qdisc *sch, unsigned long cl)
    511512{
    512513    return NULL;
    513514}
     515# endif /* LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 32) */
    514516
    515517static int vboxNetFltClassDump(struct Qdisc *sch, unsigned long cl,
     
    537539    .delete    = vboxNetFltClassDelete,
    538540    .walk      = vboxNetFltClassWalk,
     541# if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 32)
    539542    .tcf_chain = vboxNetFltClassFindTcf,
     543# endif /* LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 32) */
    540544    .dump      = vboxNetFltClassDump,
    541545};
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