VirtualBox

Ignore:
Timestamp:
Aug 13, 2010 5:54:48 PM (14 years ago)
Author:
vboxsync
Message:

vboxnetflt: qdisc RHEL compilation fixes

File:
1 edited

Legend:

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

    r31668 r31671  
    133133#  define VBOXNETFLT_WITH_GRO               1
    134134# endif
     135/* RHEL uses stats for both bstats and qstats */
     136#define bstats stats
     137#define qstats stats
     138
     139static inline int qdisc_drop(struct sk_buff *skb, struct Qdisc *sch)
     140{
     141    kfree_skb(skb);
     142    sch->stats.drops++;
     143
     144    return NET_XMIT_DROP;
     145}
    135146#endif
    136147
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