aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv4/af_inet.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/ipv4/af_inet.c')
-rw-r--r--net/ipv4/af_inet.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv4/af_inet.c b/net/ipv4/af_inet.c
index bcf8c8a4a3ad..09ca5293d08f 100644
--- a/net/ipv4/af_inet.c
+++ b/net/ipv4/af_inet.c
@@ -1113,7 +1113,7 @@ int inet_sk_rebuild_header(struct sock *sk)
1113 }; 1113 };
1114 1114
1115 security_sk_classify_flow(sk, &fl); 1115 security_sk_classify_flow(sk, &fl);
1116 err = ip_route_output_flow(&rt, &fl, sk, 0); 1116 err = ip_route_output_flow(&init_net, &rt, &fl, sk, 0);
1117} 1117}
1118 if (!err) 1118 if (!err)
1119 sk_setup_caps(sk, &rt->u.dst); 1119 sk_setup_caps(sk, &rt->u.dst);