David Ahern 28679ed104 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>
2019-04-11 14:24:06 -07:00
..
2018-05-11 00:10:56 +02:00
2018-07-24 14:10:43 -07:00
2019-03-29 10:48:04 -07:00
2018-05-16 07:24:30 +02:00
2019-04-11 14:24:06 -07:00
2019-03-22 10:38:23 -04:00