]> git.baikalelectronics.ru Git - kernel.git/commit
ipv6: Handle all fib6_nh in a nexthop in __find_rr_leaf
authorDavid Ahern <dsahern@gmail.com>
Sat, 8 Jun 2019 21:53:25 +0000 (14:53 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 10 Jun 2019 17:44:56 +0000 (10:44 -0700)
commit3f77605109536781d53e36234a70ab59e349dc24
tree5a210008ed21529f57c70abfeebee01619090427
parentf34c201fbb1c6d0a8159dd3c21d060bad5eebd7a
ipv6: Handle all fib6_nh in a nexthop in __find_rr_leaf

Add a hook in __find_rr_leaf to handle nexthop struct in a fib6_info.
nexthop_for_each_fib6_nh is used to walk each fib6_nh in a nexthop and
call find_match. On a match, use the fib6_nh saved in the callback arg
to setup fib6_result.

Signed-off-by: David Ahern <dsahern@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv6/route.c