OSDN Git Service

Merge branch 'ipv6-Refactor-nexthop-selection-helpers-during-a-fib-lookup'
authorDavid S. Miller <davem@davemloft.net>
Thu, 11 Apr 2019 21:24:07 +0000 (14:24 -0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 11 Apr 2019 21:24:07 +0000 (14:24 -0700)
David Ahern says:

====================
ipv6: Refactor nexthop selection helpers during a fib lookup

IPv6 has a fib6_nh embedded within each fib6_info and a separate
fib6_info for each path in a multipath route. A side effect is that
a fib6_info is passed all the way down the stack when selecting a path
on a fib lookup. Refactor the fib lookup functions and associated
helper functions to take a fib6_nh when appropriate to enable IPv6
to work with nexthop objects where the fib6_nh is not directly part
of a fib entry.
====================

Signed-off-by: David S. Miller <davem@davemloft.net>

Trivial merge