diff options
| author | David Ahern <[email protected]> | 2017-05-25 10:42:36 -0700 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2017-05-26 14:12:50 -0400 |
| commit | 3765d35ed8b9363cbf72ffe2282002d717a40843 (patch) | |
| tree | 057c35de51c52a7984e5610b04eb6af561e453f9 /tools/perf/scripts/python | |
| parent | d3166e0c959311881eaf7ed2e5130822d4337905 (diff) | |
net: ipv4: Convert inet_rtm_getroute to rcu versions of route lookup
Convert inet_rtm_getroute to use ip_route_input_rcu and
ip_route_output_key_hash_rcu passing the fib_result arg to both.
The rcu lock is held through the creation of the response, so the
rtable/dst does not need to be attached to the skb and is passed
to rt_fill_info directly.
In converting from ip_route_output_key to ip_route_output_key_hash_rcu
the xfrm_lookup_route in ip_route_output_flow is dropped since
flowi4_proto is not set for a route get request.
Signed-off-by: David Ahern <[email protected]>
Signed-off-by: Roopa Prabhu <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions