mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-23 23:32:14 +00:00
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>
This commit is contained in:
parent
5df65e5567
commit
273447b352
12 changed files with 17 additions and 16 deletions
|
@ -369,7 +369,7 @@ struct dst_entry *inet_csk_route_req(struct sock *sk,
|
|||
struct net *net = sock_net(sk);
|
||||
|
||||
security_req_classify_flow(req, &fl);
|
||||
if (ip_route_output_flow(net, &rt, &fl, sk, false))
|
||||
if (ip_route_output_flow(net, &rt, &fl, sk))
|
||||
goto no_route;
|
||||
if (opt && opt->is_strictroute && rt->rt_dst != rt->rt_gateway)
|
||||
goto route_err;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue