summaryrefslogtreecommitdiff
path: root/net/ipv4/multipath_drr.c
diff options
context:
space:
mode:
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 af691e287c0..cb8fce46734 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,
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;