aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv4/multipath_drr.c
diff options
context:
space:
mode:
authorEric Dumazet <dada1@cosmosbay.com>2007-02-10 19:57:03 -0500
committerDavid S. Miller <davem@sunset.davemloft.net>2007-02-11 02:20:50 -0500
commit5ef213f6842277ee1df5659f59fac0ffc9beb411 (patch)
treeaa6522f67cecacc58f077a4a4349e3d27abd18dd /net/ipv4/multipath_drr.c
parentbda390d5c883d5dff1f3ae2bade4c25869769894 (diff)
[IPV4]: Restore multipath routing after rt_next changes.
I forgot to test build this part of the networking code... Sorry guys. This patch renames u.rt_next to u.dst.rt_next Signed-off-by: Eric Dumazet <dada1@cosmosbay.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/multipath_drr.c')
-rw-r--r--net/ipv4/multipath_drr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv4/multipath_drr.c b/net/ipv4/multipath_drr.c
index af691e287c03..cb8fce467349 100644
--- a/net/ipv4/multipath_drr.c
+++ b/net/ipv4/multipath_drr.c
@@ -143,7 +143,7 @@ static void drr_select_route(const struct flowi *flp,
143 result = NULL; 143 result = NULL;
144 cur_min = NULL; 144 cur_min = NULL;
145 for (nh = rcu_dereference(first); nh; 145 for (nh = rcu_dereference(first); nh;
146 nh = rcu_dereference(nh->u.rt_next)) { 146 nh = rcu_dereference(nh->u.dst.rt_next)) {
147 if ((nh->u.dst.flags & DST_BALANCED) != 0 && 147 if ((nh->u.dst.flags & DST_BALANCED) != 0 &&
148 multipath_comparekeys(&nh->fl, flp)) { 148 multipath_comparekeys(&nh->fl, flp)) {
149 int nh_ifidx = nh->u.dst.dev->ifindex; 149 int nh_ifidx = nh->u.dst.dev->ifindex;