aboutsummaryrefslogtreecommitdiffstats
path: root/include/net/route.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/net/route.h')
-rw-r--r--include/net/route.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/net/route.h b/include/net/route.h
index 6de4333d6002..1be5c05a0905 100644
--- a/include/net/route.h
+++ b/include/net/route.h
@@ -185,6 +185,8 @@ static inline int ip_route_connect(struct rtable **rp, __be32 dst,
185 fl.flags |= FLOWI_FLAG_ANYSRC; 185 fl.flags |= FLOWI_FLAG_ANYSRC;
186 if (protocol == IPPROTO_TCP) 186 if (protocol == IPPROTO_TCP)
187 fl.flags |= FLOWI_FLAG_PRECOW_METRICS; 187 fl.flags |= FLOWI_FLAG_PRECOW_METRICS;
188 if (can_sleep)
189 fl.flags |= FLOWI_FLAG_CAN_SLEEP;
188 190
189 if (!dst || !src) { 191 if (!dst || !src) {
190 err = __ip_route_output_key(net, rp, &fl); 192 err = __ip_route_output_key(net, rp, &fl);