X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=net%2Fipv4%2Fmultipath_rr.c;h=0ad22524f450dcbb0fad212dec428fa70472ed22;hb=f5ffd4620aba9e55656483ae1ef5c79ba81f5403;hp=b6cd2870478f9db2700e5a49839f07782ac758da;hpb=814d8ffd5009e13f1266759b583ef847c5350d77;p=pandora-kernel.git diff --git a/net/ipv4/multipath_rr.c b/net/ipv4/multipath_rr.c index b6cd2870478f..0ad22524f450 100644 --- a/net/ipv4/multipath_rr.c +++ b/net/ipv4/multipath_rr.c @@ -12,11 +12,9 @@ * 2 of the License, or (at your option) any later version. */ -#include #include #include #include -#include #include #include #include @@ -59,7 +57,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;