Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 1773
b: refs/heads/master
c: 0451eb0
h: refs/heads/master
i:
  1771: 6148c03
v: v3
  • Loading branch information
Thomas Graf authored and David S. Miller committed May 31, 2005
1 parent d79feb2 commit 44e8488
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 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: 208d89843b7b03978d8e748b8b991c1be81c4f43
refs/heads/master: 0451eb074eef30240c6c06dacf2911bee26831e1
5 changes: 3 additions & 2 deletions trunk/net/sched/sch_dsmark.c
Original file line number Diff line number Diff line change
Expand Up @@ -163,14 +163,15 @@ static void dsmark_walk(struct Qdisc *sch,struct qdisc_walker *walker)
return;
for (i = 0; i < p->indices; i++) {
if (p->mask[i] == 0xff && !p->value[i])
continue;
goto ignore;
if (walker->count >= walker->skip) {
if (walker->fn(sch, i+1, walker) < 0) {
walker->stop = 1;
break;
}
}
walker->count++;
ignore:
walker->count++;
}
}

Expand Down

0 comments on commit 44e8488

Please sign in to comment.