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:
@@ -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;
|
||||
|
Reference in New Issue
Block a user