diff options
Diffstat (limited to 'include/net/sch_generic.h')
-rw-r--r-- | include/net/sch_generic.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/net/sch_generic.h b/include/net/sch_generic.h index f81f7c4d76fa..da6839a7ff50 100644 --- a/include/net/sch_generic.h +++ b/include/net/sch_generic.h | |||
@@ -433,6 +433,11 @@ static inline struct sk_buff *qdisc_dequeue_tail(struct Qdisc *sch) | |||
433 | return __qdisc_dequeue_tail(sch, &sch->q); | 433 | return __qdisc_dequeue_tail(sch, &sch->q); |
434 | } | 434 | } |
435 | 435 | ||
436 | static inline struct sk_buff *qdisc_peek_head(struct Qdisc *sch) | ||
437 | { | ||
438 | return skb_peek(&sch->q); | ||
439 | } | ||
440 | |||
436 | static inline int __qdisc_requeue(struct sk_buff *skb, struct Qdisc *sch, | 441 | static inline int __qdisc_requeue(struct sk_buff *skb, struct Qdisc *sch, |
437 | struct sk_buff_head *list) | 442 | struct sk_buff_head *list) |
438 | { | 443 | { |