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)
commit78f07adac86186b5ef0318b7faec377b6d31ea9f
tree4c67f46492b695373ffde163f26ef2e3c7bb8594
parent62720b12d20aecebc2e74642c37a3dc84717ac7a
parent0b34eb004347308ed0952ddb5b3898a71869ac3c
Merge branch 'ipv6-Refactor-nexthop-selection-helpers-during-a-fib-lookup'

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>