Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 111747
b: refs/heads/master
c: a574420
h: refs/heads/master
i:
  111745: 0514354
  111743: 3a40b7e
v: v3
  • Loading branch information
Alexander Duyck authored and David S. Miller committed Sep 21, 2008
1 parent 2c86d35 commit 5429041
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 618d9f25548ba6fc3a9cd2ce5cd56f4f015b0635
refs/heads/master: a574420ff46cff0245e6b0fce2e961aa2717743d
5 changes: 5 additions & 0 deletions trunk/net/sched/sch_multiq.c
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,7 @@ static int
multiq_requeue(struct sk_buff *skb, struct Qdisc *sch)
{
struct Qdisc *qdisc;
struct multiq_sched_data *q = qdisc_priv(sch);
int ret;

qdisc = multiq_classify(skb, sch, &ret);
Expand All @@ -113,6 +114,10 @@ multiq_requeue(struct sk_buff *skb, struct Qdisc *sch)
if (ret == NET_XMIT_SUCCESS) {
sch->q.qlen++;
sch->qstats.requeues++;
if (q->curband)
q->curband--;
else
q->curband = q->bands - 1;
return NET_XMIT_SUCCESS;
}
if (net_xmit_drop_count(ret))
Expand Down

0 comments on commit 5429041

Please sign in to comment.