summaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/bpf/test_verifier.c
diff options
context:
space:
mode:
authorDavid Ahern2019-04-09 23:41:19 +0200
committerDavid S. Miller2019-04-11 23:24:07 +0200
commit0b34eb004347308ed0952ddb5b3898a71869ac3c (patch)
tree4c67f46492b695373ffde163f26ef2e3c7bb8594 /tools/testing/selftests/bpf/test_verifier.c
parentipv6: Refactor rt6_device_match (diff)
downloadkernel-qcow2-linux-0b34eb004347308ed0952ddb5b3898a71869ac3c.tar.gz
kernel-qcow2-linux-0b34eb004347308ed0952ddb5b3898a71869ac3c.tar.xz
kernel-qcow2-linux-0b34eb004347308ed0952ddb5b3898a71869ac3c.zip
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/test_verifier.c')
0 files changed, 0 insertions, 0 deletions