Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 106330
b: refs/heads/master
c: cdec7e5
h: refs/heads/master
v: v3
  • Loading branch information
David S. Miller committed Jul 26, 2008
1 parent 3d3ab44 commit 967e34e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 9 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: 509e2562adfd63964aa30c1ddd9ddf4e57949351
refs/heads/master: cdec7e50a4896c5197d5575d9ca635eea6825149
9 changes: 1 addition & 8 deletions trunk/net/sched/sch_sfq.c
Original file line number Diff line number Diff line change
Expand Up @@ -536,14 +536,7 @@ static int sfq_dump(struct Qdisc *sch, struct sk_buff *skb)

opt.limit = q->limit;
opt.divisor = SFQ_HASH_DIVISOR;
opt.flows = 0;
if (q->tail != SFQ_DEPTH) {
unsigned int i;

for (i = 0; i < SFQ_HASH_DIVISOR; i++)
if (q->ht[i] != SFQ_DEPTH)
opt.flows++;
}
opt.flows = q->limit;

NLA_PUT(skb, TCA_OPTIONS, sizeof(opt), &opt);

Expand Down

0 comments on commit 967e34e

Please sign in to comment.