aboutsummaryrefslogtreecommitdiff
path: root/net/sched/sch_tbf.c
diff options
context:
space:
mode:
authorSteve French <sfrench@us.ibm.com>2011-01-31 04:17:03 +0000
committerSteve French <sfrench@us.ibm.com>2011-01-31 04:17:03 +0000
commit58b8a5b45a097b477c037bc376e65dc5f214bf3d (patch)
tree9fa2538a113fbd3aaa322d9c972aca3ca16b7e30 /net/sched/sch_tbf.c
parentffeb414a59291d5891f09727beb793c109f19f08 (diff)
parent70d1f365568e0cdbc9f4ab92428e1830fdb09ab0 (diff)
Merge branch 'master' of /pub/scm/linux/kernel/git/torvalds/linux-2.6
Diffstat (limited to 'net/sched/sch_tbf.c')
-rw-r--r--net/sched/sch_tbf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/sched/sch_tbf.c b/net/sched/sch_tbf.c
index 77565e72181..e93165820c3 100644
--- a/net/sched/sch_tbf.c
+++ b/net/sched/sch_tbf.c
@@ -134,7 +134,6 @@ static int tbf_enqueue(struct sk_buff *skb, struct Qdisc* sch)
}
sch->q.qlen++;
- qdisc_bstats_update(sch, skb);
return NET_XMIT_SUCCESS;
}
@@ -187,6 +186,7 @@ static struct sk_buff *tbf_dequeue(struct Qdisc* sch)
q->ptokens = ptoks;
sch->q.qlen--;
sch->flags &= ~TCQ_F_THROTTLED;
+ qdisc_bstats_update(sch, skb);
return skb;
}