Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 73527
b: refs/heads/master
c: b226801
h: refs/heads/master
i:
  73525: 1fd2297
  73523: 6fcb5a1
  73519: 673ef0d
v: v3
  • Loading branch information
Radu Rendec authored and David S. Miller committed Nov 11, 2007
1 parent 9f5348b commit 17ff82b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 12 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: 78608ba0326f1448f9a10dbb402a38192559f639
refs/heads/master: b226801676d9533d09da511eb379fe970fa1a770
12 changes: 1 addition & 11 deletions trunk/net/sched/cls_u32.c
Original file line number Diff line number Diff line change
Expand Up @@ -613,17 +613,7 @@ static int u32_change(struct tcf_proto *tp, unsigned long base, u32 handle,
memcpy(&n->sel, s, sizeof(*s) + s->nkeys*sizeof(struct tc_u32_key));
n->ht_up = ht;
n->handle = handle;
{
u8 i = 0;
u32 mask = ntohl(s->hmask);
if (mask) {
while (!(mask & 1)) {
i++;
mask>>=1;
}
}
n->fshift = i;
}
n->fshift = s->hmask ? ffs(ntohl(s->hmask)) - 1 : 0;

#ifdef CONFIG_CLS_U32_MARK
if (tb[TCA_U32_MARK-1]) {
Expand Down

0 comments on commit 17ff82b

Please sign in to comment.