aboutsummaryrefslogtreecommitdiff
path: root/net/dccp
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2011-03-01 14:15:24 -0800
committerDavid S. Miller <davem@davemloft.net>2011-03-01 14:15:24 -0800
commitabdf7e7239da270e68262728f125ea94b9b7d42d (patch)
tree30c1246fac76ad7a4d2b1f8dcf3698b4d302b4de /net/dccp
parent68d0c6d34d586a893292d4fb633a3bf8c547b222 (diff)
ipv4: Can final ip_route_connect() arg to boolean "can_sleep".
Since that's what the current vague "flags" thing means. Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/dccp')
-rw-r--r--net/dccp/ipv4.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/dccp/ipv4.c b/net/dccp/ipv4.c
index 937989199c8..8372d5c571a 100644
--- a/net/dccp/ipv4.c
+++ b/net/dccp/ipv4.c
@@ -69,7 +69,7 @@ int dccp_v4_connect(struct sock *sk, struct sockaddr *uaddr, int addr_len)
tmp = ip_route_connect(&rt, nexthop, inet->inet_saddr,
RT_CONN_FLAGS(sk), sk->sk_bound_dev_if,
IPPROTO_DCCP,
- orig_sport, orig_dport, sk, 1);
+ orig_sport, orig_dport, sk, true);
if (tmp < 0)
return tmp;