X-Git-Url: http://pilppa.org/gitweb/?a=blobdiff_plain;f=net%2Fipv4%2Fmultipath_rr.c;h=0ad22524f450dcbb0fad212dec428fa70472ed22;hb=c58b8e4a25a1ba347a0e5d21984c97bd296f1691;hp=b6cd2870478f9db2700e5a49839f07782ac758da;hpb=aef7b83c92dd0b7e994805440655d1d64147287b;p=linux-2.6-omap-h63xx.git diff --git a/net/ipv4/multipath_rr.c b/net/ipv4/multipath_rr.c index b6cd2870478..0ad22524f45 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;