summaryrefslogtreecommitdiffstats
path: root/net/sched/sch_tbf.c
diff options
context:
space:
mode:
authorJussi Kivilinna <jussi.kivilinna@mbnet.fi>2008-07-20 00:08:04 -0700
committerDavid S. Miller <davem@davemloft.net>2008-07-20 00:08:04 -0700
commit5f86173bdf15981ca49d0434f638b68f70a35644 (patch)
treee6792339e577ed4a8261358e56df9f1a2b87f655 /net/sched/sch_tbf.c
parentdb7a94d60f871ce6a52e97d82dea476cee0c4ea0 (diff)
downloadop-kernel-dev-5f86173bdf15981ca49d0434f638b68f70a35644.zip
op-kernel-dev-5f86173bdf15981ca49d0434f638b68f70a35644.tar.gz
net_sched: Add qdisc_enqueue wrapper
Signed-off-by: Jussi Kivilinna <jussi.kivilinna@mbnet.fi> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/sched/sch_tbf.c')
-rw-r--r--net/sched/sch_tbf.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/net/sched/sch_tbf.c b/net/sched/sch_tbf.c
index 444c227..7d705b8 100644
--- a/net/sched/sch_tbf.c
+++ b/net/sched/sch_tbf.c
@@ -133,7 +133,8 @@ static int tbf_enqueue(struct sk_buff *skb, struct Qdisc* sch)
return NET_XMIT_DROP;
}
- if ((ret = q->qdisc->enqueue(skb, q->qdisc)) != 0) {
+ ret = qdisc_enqueue(skb, q->qdisc);
+ if (ret != 0) {
sch->qstats.drops++;
return ret;
}
OpenPOWER on IntegriCloud