aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorDavid Ahern <[email protected]>2017-05-25 10:42:33 -0700
committerDavid S. Miller <[email protected]>2017-05-26 14:12:49 -0400
commit3abd1ade6765e8edcccad6a9e1039cc709e65dde (patch)
tree0efba1d15eda6d52a7fcc07fbc38bf796198ffa6 /tools/perf/scripts/python/export-to-postgresql.py
parent5dafc87f40d7b7f2b2a3b3153399143c333ec785 (diff)
net: ipv4: refactor __ip_route_output_key_hash
A later patch wants access to the fib result on an output route lookup with the rcu lock held. Refactor __ip_route_output_key_hash, pushing the logic between rcu_read_lock ... rcu_read_unlock into a new helper with the fib_result as an input arg. To keep the name length under control remove the leading underscores from the name and add _rcu to the name of the new helper indicating it is called with the rcu read lock held. 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/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions