summaryrefslogtreecommitdiffstats
path: root/net/ipv4/multipath_wrandom.c
diff options
context:
space:
mode:
authorEric Dumazet2007-02-11 01:57:03 +0100
committerDavid S. Miller2007-02-11 08:20:50 +0100
commit5ef213f6842277ee1df5659f59fac0ffc9beb411 (patch)
treeaa6522f67cecacc58f077a4a4349e3d27abd18dd /net/ipv4/multipath_wrandom.c
parent[XFRM] IPV6: Fix outbound RO transformation which is broken by IPsec tunnel p... (diff)
downloadkernel-qcow2-linux-5ef213f6842277ee1df5659f59fac0ffc9beb411.tar.gz
kernel-qcow2-linux-5ef213f6842277ee1df5659f59fac0ffc9beb411.tar.xz
kernel-qcow2-linux-5ef213f6842277ee1df5659f59fac0ffc9beb411.zip
[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_wrandom.c')
-rw-r--r--net/ipv4/multipath_wrandom.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv4/multipath_wrandom.c b/net/ipv4/multipath_wrandom.c
index ef42e5fa647b..7e22f15d13df 100644
--- a/net/ipv4/multipath_wrandom.c
+++ b/net/ipv4/multipath_wrandom.c
@@ -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 =