[<prev] [next>] [day] [month] [year] [list]
Message-ID: <20081014095402.GF10804@ff.dom.local>
Date: Tue, 14 Oct 2008 09:54:02 +0000
From: Jarek Poplawski <jarkao2@...il.com>
To: David Miller <davem@...emloft.net>
Cc: netdev@...r.kernel.org
Subject: [PATCH 05/14] sch_tbf: Use ->requeue queue instead of ops.
-------- Original Message --------
Subject: [PATCH 6/9]: sch_tbf: Use ->requeue queue instead of ops.
Date: Mon, 18 Aug 2008 01:37:08 -0700 (PDT)
From: David Miller <davem@...emloft.net>
--------------------->
From: David Miller <davem@...emloft.net>
sch_tbf: Use ->requeue queue instead of ops.
Signed-off-by: Jarek Poplawski <jarkao2@...il.com>
---
net/sched/sch_tbf.c | 7 +------
1 files changed, 1 insertions(+), 6 deletions(-)
diff --git a/net/sched/sch_tbf.c b/net/sched/sch_tbf.c
index a99529d..e98aeb9 100644
--- a/net/sched/sch_tbf.c
+++ b/net/sched/sch_tbf.c
@@ -214,12 +214,7 @@ static struct sk_buff *tbf_dequeue(struct Qdisc* sch)
(cf. CSZ, HPFQ, HFSC)
*/
- if (q->qdisc->ops->requeue(skb, q->qdisc) != NET_XMIT_SUCCESS) {
- /* When requeue fails skb is dropped */
- qdisc_tree_decrease_qlen(q->qdisc, 1);
- sch->qstats.drops++;
- }
-
+ __skb_queue_tail(&q->qdisc->requeue, skb);
sch->qstats.overlimits++;
}
return NULL;
--
1.5.6.5
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists