Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 73273
b: refs/heads/master
c: 543821c
h: refs/heads/master
i:
  73271: 1ed5c9f
v: v3
  • Loading branch information
Radu Rendec authored and David S. Miller committed Nov 7, 2007
1 parent 95fc7ab commit 5988273
Show file tree
Hide file tree
Showing 2 changed files with 3 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: 40208d71e0c6b5f912b185e637272b6481fcef3f
refs/heads/master: 543821c6f5dea5221426eaf1eac98b100249c7ac
4 changes: 2 additions & 2 deletions trunk/net/sched/cls_u32.c
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ static struct tc_u_common *u32_list;

static __inline__ unsigned u32_hash_fold(u32 key, struct tc_u32_sel *sel, u8 fshift)
{
unsigned h = (key & sel->hmask)>>fshift;
unsigned h = ntohl(key & sel->hmask)>>fshift;

return h;
}
Expand Down Expand Up @@ -615,7 +615,7 @@ static int u32_change(struct tcf_proto *tp, unsigned long base, u32 handle,
n->handle = handle;
{
u8 i = 0;
u32 mask = s->hmask;
u32 mask = ntohl(s->hmask);
if (mask) {
while (!(mask & 1)) {
i++;
Expand Down

0 comments on commit 5988273

Please sign in to comment.