Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 36795
b: refs/heads/master
c: e8192f3
h: refs/heads/master
i:
  36793: e7772e1
  36791: 4c62305
v: v3
  • Loading branch information
Al Viro authored and David S. Miller committed Sep 29, 2006
1 parent 85acb29 commit f827373
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: f20f4a60d74b0d7e2a5dafd5e7d5760f44ce2f30
refs/heads/master: e8192f367cb3dcbefaa4109d26f3b1645b0c6b56
4 changes: 2 additions & 2 deletions trunk/net/ipv4/multipath_wrandom.c
Original file line number Diff line number Diff line change
Expand Up @@ -128,8 +128,8 @@ static unsigned char __multipath_lookup_weight(const struct flowi *fl,

/* find state entry for destination */
list_for_each_entry_rcu(d, &target_route->dests, list) {
__u32 targetnetwork = fl->fl4_dst &
(0xFFFFFFFF >> (32 - d->prefixlen));
__be32 targetnetwork = fl->fl4_dst &
inet_make_mask(d->prefixlen);

if ((targetnetwork & d->netmask) == d->network) {
weight = d->nh_info->nh_weight;
Expand Down

0 comments on commit f827373

Please sign in to comment.