Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 322802
b: refs/heads/master
c: c22e464
h: refs/heads/master
v: v3
  • Loading branch information
David Ward authored and David S. Miller committed Sep 13, 2012
1 parent 8ac71d0 commit aa0bc8a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 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: e29fe837bfa3ca0a9f4ef1d4a90e6e0a74b6b8a0
refs/heads/master: c22e464022f935b0cbd8724b1d99d800d49518a9
5 changes: 2 additions & 3 deletions trunk/net/sched/sch_gred.c
Original file line number Diff line number Diff line change
Expand Up @@ -102,9 +102,8 @@ static inline int gred_wred_mode_check(struct Qdisc *sch)
if (q == NULL)
continue;

for (n = 0; n < table->DPs; n++)
if (table->tab[n] && table->tab[n] != q &&
table->tab[n]->prio == q->prio)
for (n = i + 1; n < table->DPs; n++)
if (table->tab[n] && table->tab[n]->prio == q->prio)
return 1;
}

Expand Down

0 comments on commit aa0bc8a

Please sign in to comment.