summaryrefslogtreecommitdiffstats
path: root/net/ipv4/datagram.c
diff options
context:
space:
mode:
authorDavid S. Miller2011-03-01 23:15:24 +0100
committerDavid S. Miller2011-03-01 23:15:24 +0100
commitabdf7e7239da270e68262728f125ea94b9b7d42d (patch)
tree30c1246fac76ad7a4d2b1f8dcf3698b4d302b4de /net/ipv4/datagram.c
parentipv6: Consolidate route lookup sequences. (diff)
downloadkernel-qcow2-linux-abdf7e7239da270e68262728f125ea94b9b7d42d.tar.gz
kernel-qcow2-linux-abdf7e7239da270e68262728f125ea94b9b7d42d.tar.xz
kernel-qcow2-linux-abdf7e7239da270e68262728f125ea94b9b7d42d.zip
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/ipv4/datagram.c')
-rw-r--r--net/ipv4/datagram.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv4/datagram.c b/net/ipv4/datagram.c
index 174be6caa5c8..eaee1edd2dd7 100644
--- a/net/ipv4/datagram.c
+++ b/net/ipv4/datagram.c
@@ -49,7 +49,7 @@ int ip4_datagram_connect(struct sock *sk, struct sockaddr *uaddr, int addr_len)
err = ip_route_connect(&rt, usin->sin_addr.s_addr, saddr,
RT_CONN_FLAGS(sk), oif,
sk->sk_protocol,
- inet->inet_sport, usin->sin_port, sk, 1);
+ inet->inet_sport, usin->sin_port, sk, true);
if (err) {
if (err == -ENETUNREACH)
IP_INC_STATS_BH(sock_net(sk), IPSTATS_MIB_OUTNOROUTES);