summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--include/net/route.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/net/route.h b/include/net/route.h
index 81b6cf27654..16eb59cd708 100644
--- a/include/net/route.h
+++ b/include/net/route.h
@@ -271,8 +271,6 @@ static inline struct rtable *ip_route_connect(struct flowi4 *fl4,
rt = __ip_route_output_key(net, fl4);
if (IS_ERR(rt))
return rt;
- fl4->daddr = rt->rt_dst;
- fl4->saddr = rt->rt_src;
ip_rt_put(rt);
}
security_sk_classify_flow(sk, flowi4_to_flowi(fl4));