Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 122564
b: refs/heads/master
c: 1b5c007
h: refs/heads/master
v: v3
  • Loading branch information
Jarek Poplawski authored and David S. Miller committed Dec 10, 2008
1 parent 5213fef commit f39d3ab
Show file tree
Hide file tree
Showing 2 changed files with 4 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: dbb7a95d810ab76aac42e1a5cefdf069dcd014a1
refs/heads/master: 1b5c0077e1615bb16e777a10ec1fc1195ba059ac
6 changes: 3 additions & 3 deletions trunk/net/sched/sch_htb.c
Original file line number Diff line number Diff line change
Expand Up @@ -698,14 +698,14 @@ static struct rb_node *htb_id_find_next_upper(int prio, struct rb_node *n,
while (n) {
struct htb_class *cl =
rb_entry(n, struct htb_class, node[prio]);
if (id == cl->common.classid)
return n;

if (id > cl->common.classid) {
n = n->rb_right;
} else {
} else if (id < cl->common.classid) {
r = n;
n = n->rb_left;
} else {
return n;
}
}
return r;
Expand Down

0 comments on commit f39d3ab

Please sign in to comment.