]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitb48c916b37b44f22029bbd93c5d5ee2e0923f3ed
tree4c67f46492b695373ffde163f26ef2e3c7bb8594
parente10f0c4edbc0e540d7d960b32a0715baab9a37c7
parentb84b8e99fdfcb609b937d658db06e1c5e36a744f
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>