diff options
author | David Ahern <dsahern@gmail.com> | 2019-04-09 23:41:19 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-04-11 23:24:07 +0200 |
commit | 0b34eb004347308ed0952ddb5b3898a71869ac3c (patch) | |
tree | 4c67f46492b695373ffde163f26ef2e3c7bb8594 /lib | |
parent | ipv6: Refactor rt6_device_match (diff) | |
download | linux-0b34eb004347308ed0952ddb5b3898a71869ac3c.tar.xz 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 'lib')
0 files changed, 0 insertions, 0 deletions