summaryrefslogtreecommitdiff
path: root/tools/testing/selftests/bpf/trace_helpers.c
diff options
context:
space:
mode:
authorDavid Ahern <dsahern@gmail.com>2019-04-10 00:41:19 +0300
committerDavid S. Miller <davem@davemloft.net>2019-04-12 00:24:07 +0300
commit0b34eb004347308ed0952ddb5b3898a71869ac3c (patch)
tree4c67f46492b695373ffde163f26ef2e3c7bb8594 /tools/testing/selftests/bpf/trace_helpers.c
parent0c59d00675874f9ee7a0371ad9d9b69386ea2d03 (diff)
downloadlinux-0b34eb004347308ed0952ddb5b3898a71869ac3c.tar.xz
ipv6: Refactor __ip6_route_redirect
Move the nexthop evaluation of a fib entry to a helper that can be leveraged for each fib6_nh in a multipath nexthop object. In the move, 'continue' statements means the helper returns false (loop should continue) and 'break' means return true (found the entry of interest). Signed-off-by: David Ahern <dsahern@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/testing/selftests/bpf/trace_helpers.c')
0 files changed, 0 insertions, 0 deletions