diff options
author | David S. Miller <davem@davemloft.net> | 2011-03-01 14:27:04 -0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-03-01 14:27:04 -0800 |
commit | 273447b352e69c327efdecfd6e1d6fe3edbdcd14 (patch) | |
tree | dae1e0778ca973c25b74fd3dc9728616d6e65b73 /net/l2tp | |
parent | 5df65e5567a497a28067019b8ff08f98fb026629 (diff) | |
download | linux-stable-273447b352e69c327efdecfd6e1d6fe3edbdcd14.tar.gz linux-stable-273447b352e69c327efdecfd6e1d6fe3edbdcd14.tar.bz2 linux-stable-273447b352e69c327efdecfd6e1d6fe3edbdcd14.zip |
ipv4: Kill can_sleep arg to ip_route_output_flow()
This boolean state is now available in the flow flags.
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/l2tp')
-rw-r--r-- | net/l2tp/l2tp_ip.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/l2tp/l2tp_ip.c b/net/l2tp/l2tp_ip.c index 7744a8e4b4c6..5381cebe516d 100644 --- a/net/l2tp/l2tp_ip.c +++ b/net/l2tp/l2tp_ip.c @@ -489,7 +489,7 @@ static int l2tp_ip_sendmsg(struct kiocb *iocb, struct sock *sk, struct msghdr *m * itself out. */ security_sk_classify_flow(sk, &fl); - if (ip_route_output_flow(sock_net(sk), &rt, &fl, sk, false)) + if (ip_route_output_flow(sock_net(sk), &rt, &fl, sk)) goto no_route; } sk_setup_caps(sk, &rt->dst); |