diff options
author | Jarek Poplawski <jarkao2@gmail.com> | 2008-10-31 03:45:55 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-10-31 03:45:55 -0400 |
commit | 8e3af97899db433111287e07d5105189f56fe191 (patch) | |
tree | 40e7779ea4b587c9c3b882018ccaac1b53419f1c /net/sched/sch_netem.c | |
parent | 99c0db26797edb39cf83c8c5f8972067f5426b4e (diff) |
pkt_sched: Add qdisc->ops->peek() implementation.
Add qdisc->ops->peek() implementation for work-conserving qdiscs.
With feedback from Patrick McHardy.
Signed-off-by: Jarek Poplawski <jarkao2@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/sched/sch_netem.c')
-rw-r--r-- | net/sched/sch_netem.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/net/sched/sch_netem.c b/net/sched/sch_netem.c index a11959908d9a..2898d9dc31eb 100644 --- a/net/sched/sch_netem.c +++ b/net/sched/sch_netem.c | |||
@@ -541,6 +541,7 @@ static struct Qdisc_ops tfifo_qdisc_ops __read_mostly = { | |||
541 | .priv_size = sizeof(struct fifo_sched_data), | 541 | .priv_size = sizeof(struct fifo_sched_data), |
542 | .enqueue = tfifo_enqueue, | 542 | .enqueue = tfifo_enqueue, |
543 | .dequeue = qdisc_dequeue_head, | 543 | .dequeue = qdisc_dequeue_head, |
544 | .peek = qdisc_peek_head, | ||
544 | .requeue = qdisc_requeue, | 545 | .requeue = qdisc_requeue, |
545 | .drop = qdisc_queue_drop, | 546 | .drop = qdisc_queue_drop, |
546 | .init = tfifo_init, | 547 | .init = tfifo_init, |