summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorDavid Ahern <dsahern@gmail.com>2019-04-10 00:41:14 +0300
committerDavid S. Miller <davem@davemloft.net>2019-04-12 00:24:06 +0300
commit28679ed1047955e1a618984c90e4f1c6bfdaeb93 (patch)
treea4d6270deb66855a791aad60e66b714d5a64b128 /tools/perf/scripts/python/export-to-postgresql.py
parent702cea56852c6e57e997890ae8202e5385c63691 (diff)
downloadlinux-28679ed1047955e1a618984c90e4f1c6bfdaeb93.tar.xz
ipv6: Refactor find_match
find_match primarily needs a fib6_nh (and fib6_flags which it passes through to rt6_score_route). Move fib6_check_expired up to the call sites so find_match is only called for relevant entries. Remove the match argument which is mostly a pass through and use the return boolean to decide if match gets set in the call sites. The end result is a helper that can be called per fib6_nh struct which is needed once fib entries reference nexthop objects that have more than one fib6_nh. Signed-off-by: David Ahern <dsahern@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions