mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 18:51:56 -04:00
ipv4: Make final arg to ip_route_output_flow to be boolean "can_sleep"
Since that is what the current vague "flags" argument means. Signed-off-by: David S. Miller <[email protected]>
This commit is contained in:
parent
abdf7e7239
commit
420d44daa7
12 changed files with 16 additions and 16 deletions
|
|
@ -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, 0))
|
||||
if (ip_route_output_flow(sock_net(sk), &rt, &fl, sk, false))
|
||||
goto no_route;
|
||||
}
|
||||
sk_setup_caps(sk, &rt->dst);
|
||||
|
|
|
|||
Loading…
Reference in a new issue