|
@@ -2359,7 +2359,8 @@ struct rtable *__ip_route_output_key_hash(struct net *net, struct flowi4 *fl4,
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
/* L3 master device is the loopback for that domain */
|
|
/* L3 master device is the loopback for that domain */
|
|
|
- dev_out = l3mdev_master_dev_rcu(dev_out) ? : net->loopback_dev;
|
|
|
|
|
|
|
+ dev_out = l3mdev_master_dev_rcu(FIB_RES_DEV(res)) ? :
|
|
|
|
|
+ net->loopback_dev;
|
|
|
fl4->flowi4_oif = dev_out->ifindex;
|
|
fl4->flowi4_oif = dev_out->ifindex;
|
|
|
flags |= RTCF_LOCAL;
|
|
flags |= RTCF_LOCAL;
|
|
|
goto make_route;
|
|
goto make_route;
|