Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 56375
b: refs/heads/master
c: 3e5c2d3
h: refs/heads/master
i:
  56373: 8c8cfa5
  56371: 61d36b9
  56367: 1a8e3b6
v: v3
  • Loading branch information
Jamal Hadi Salim authored and David S. Miller committed May 14, 2007
1 parent b45dc3d commit fb01271
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 6253db055eb62a1bd0a18a1d8489565303b2b1dd
refs/heads/master: 3e5c2d3bdbe2c047b9853c4248f881f5ac645c89
2 changes: 1 addition & 1 deletion trunk/net/sched/sch_prio.c
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ prio_classify(struct sk_buff *skb, struct Qdisc *sch, int *qerr)
band = res.classid;
}
band = TC_H_MIN(band) - 1;
if (band > q->bands)
if (band >= q->bands)
return q->queues[q->prio2band[0]];

return q->queues[band];
Expand Down

0 comments on commit fb01271

Please sign in to comment.