aboutsummaryrefslogtreecommitdiffstats
path: root/net/l2tp
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2011-03-01 17:15:24 -0500
committerDavid S. Miller <davem@davemloft.net>2011-03-01 17:15:24 -0500
commitabdf7e7239da270e68262728f125ea94b9b7d42d (patch)
tree30c1246fac76ad7a4d2b1f8dcf3698b4d302b4de /net/l2tp
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/l2tp')
-rw-r--r--net/l2tp/l2tp_ip.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/l2tp/l2tp_ip.c b/net/l2tp/l2tp_ip.c
index 110efb704c9b..28e876a6b1dd 100644
--- a/net/l2tp/l2tp_ip.c
+++ b/net/l2tp/l2tp_ip.c
@@ -323,7 +323,7 @@ static int l2tp_ip_connect(struct sock *sk, struct sockaddr *uaddr, int addr_len
323 rc = ip_route_connect(&rt, lsa->l2tp_addr.s_addr, saddr, 323 rc = ip_route_connect(&rt, lsa->l2tp_addr.s_addr, saddr,
324 RT_CONN_FLAGS(sk), oif, 324 RT_CONN_FLAGS(sk), oif,
325 IPPROTO_L2TP, 325 IPPROTO_L2TP,
326 0, 0, sk, 1); 326 0, 0, sk, true);
327 if (rc) { 327 if (rc) {
328 if (rc == -ENETUNREACH) 328 if (rc == -ENETUNREACH)
329 IP_INC_STATS_BH(&init_net, IPSTATS_MIB_OUTNOROUTES); 329 IP_INC_STATS_BH(&init_net, IPSTATS_MIB_OUTNOROUTES);