commit | 0b34eb004347308ed0952ddb5b3898a71869ac3c | [log] [tgz] |
---|---|---|
author | David Ahern <dsahern@gmail.com> | Tue Apr 09 14:41:19 2019 -0700 |
committer | David S. Miller <davem@davemloft.net> | Thu Apr 11 14:24:07 2019 -0700 |
tree | 4c67f46492b695373ffde163f26ef2e3c7bb8594 | |
parent | 0c59d00675874f9ee7a0371ad9d9b69386ea2d03 [diff] |
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>