Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 47688
b: refs/heads/master
c: 5ef213f
h: refs/heads/master
v: v3
  • Loading branch information
Eric Dumazet authored and David S. Miller committed Feb 11, 2007
1 parent 0504dd6 commit fbf89b4
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 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: bda390d5c883d5dff1f3ae2bade4c25869769894
refs/heads/master: 5ef213f6842277ee1df5659f59fac0ffc9beb411
2 changes: 1 addition & 1 deletion trunk/net/ipv4/multipath_drr.c
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ static void drr_select_route(const struct flowi *flp,
result = NULL;
cur_min = NULL;
for (nh = rcu_dereference(first); nh;
nh = rcu_dereference(nh->u.rt_next)) {
nh = rcu_dereference(nh->u.dst.rt_next)) {
if ((nh->u.dst.flags & DST_BALANCED) != 0 &&
multipath_comparekeys(&nh->fl, flp)) {
int nh_ifidx = nh->u.dst.dev->ifindex;
Expand Down
4 changes: 2 additions & 2 deletions trunk/net/ipv4/multipath_random.c
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ static void random_select_route(const struct flowi *flp,

/* count all candidate */
for (rt = rcu_dereference(first); rt;
rt = rcu_dereference(rt->u.rt_next)) {
rt = rcu_dereference(rt->u.dst.rt_next)) {
if ((rt->u.dst.flags & DST_BALANCED) != 0 &&
multipath_comparekeys(&rt->fl, flp))
++candidate_count;
Expand All @@ -90,7 +90,7 @@ static void random_select_route(const struct flowi *flp,
/* find chosen candidate and adjust GC data for all candidates
* to ensure they stay in cache
*/
for (rt = first; rt; rt = rt->u.rt_next) {
for (rt = first; rt; rt = rt->u.dst.rt_next) {
if ((rt->u.dst.flags & DST_BALANCED) != 0 &&
multipath_comparekeys(&rt->fl, flp)) {
rt->u.dst.lastuse = jiffies;
Expand Down
2 changes: 1 addition & 1 deletion trunk/net/ipv4/multipath_rr.c
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ static void rr_select_route(const struct flowi *flp,
*/
result = NULL;
for (nh = rcu_dereference(first); nh;
nh = rcu_dereference(nh->u.rt_next)) {
nh = rcu_dereference(nh->u.dst.rt_next)) {
if ((nh->u.dst.flags & DST_BALANCED) != 0 &&
multipath_comparekeys(&nh->fl, flp)) {
nh->u.dst.lastuse = jiffies;
Expand Down
2 changes: 1 addition & 1 deletion trunk/net/ipv4/multipath_wrandom.c
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ static void wrandom_select_route(const struct flowi *flp,

/* collect all candidates and identify their weights */
for (rt = rcu_dereference(first); rt;
rt = rcu_dereference(rt->u.rt_next)) {
rt = rcu_dereference(rt->u.dst.rt_next)) {
if ((rt->u.dst.flags & DST_BALANCED) != 0 &&
multipath_comparekeys(&rt->fl, flp)) {
struct multipath_candidate* mpc =
Expand Down

0 comments on commit fbf89b4

Please sign in to comment.