diff options
Diffstat (limited to 'include/net/sch_generic.h')
-rw-r--r-- | include/net/sch_generic.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/net/sch_generic.h b/include/net/sch_generic.h index f15b045a85e9..a7abfda3e447 100644 --- a/include/net/sch_generic.h +++ b/include/net/sch_generic.h | |||
@@ -343,14 +343,14 @@ static inline unsigned int qdisc_pkt_len(struct sk_buff *skb) | |||
343 | return qdisc_skb_cb(skb)->pkt_len; | 343 | return qdisc_skb_cb(skb)->pkt_len; |
344 | } | 344 | } |
345 | 345 | ||
346 | #ifdef CONFIG_NET_CLS_ACT | 346 | /* additional qdisc xmit flags (NET_XMIT_MASK in linux/netdevice.h) */ |
347 | /* additional qdisc xmit flags */ | ||
348 | enum net_xmit_qdisc_t { | 347 | enum net_xmit_qdisc_t { |
349 | __NET_XMIT_STOLEN = 0x00010000, | 348 | __NET_XMIT_STOLEN = 0x00010000, |
349 | __NET_XMIT_BYPASS = 0x00020000, | ||
350 | }; | 350 | }; |
351 | 351 | ||
352 | #ifdef CONFIG_NET_CLS_ACT | ||
352 | #define net_xmit_drop_count(e) ((e) & __NET_XMIT_STOLEN ? 0 : 1) | 353 | #define net_xmit_drop_count(e) ((e) & __NET_XMIT_STOLEN ? 0 : 1) |
353 | |||
354 | #else | 354 | #else |
355 | #define net_xmit_drop_count(e) (1) | 355 | #define net_xmit_drop_count(e) (1) |
356 | #endif | 356 | #endif |