aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv4/route.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/ipv4/route.c')
-rw-r--r--net/ipv4/route.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv4/route.c b/net/ipv4/route.c
index 27e0f81060a7..4313255e5a14 100644
--- a/net/ipv4/route.c
+++ b/net/ipv4/route.c
@@ -2419,7 +2419,7 @@ static int ip_route_output_slow(struct rtable **rp, const struct flowi *oldflp)
2419 else 2419 else
2420#endif 2420#endif
2421 if (!res.prefixlen && res.type == RTN_UNICAST && !fl.oif) 2421 if (!res.prefixlen && res.type == RTN_UNICAST && !fl.oif)
2422 fib_select_default(&fl, &res); 2422 fib_select_default(&init_net, &fl, &res);
2423 2423
2424 if (!fl.fl4_src) 2424 if (!fl.fl4_src)
2425 fl.fl4_src = FIB_RES_PREFSRC(res); 2425 fl.fl4_src = FIB_RES_PREFSRC(res);