]> git.baikalelectronics.ru Git - kernel.git/commit
ipv6: Pass fib6_result to rt6_select and find_rr_leaf
authorDavid Ahern <dsahern@gmail.com>
Tue, 16 Apr 2019 21:36:08 +0000 (14:36 -0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 18 Apr 2019 06:10:47 +0000 (23:10 -0700)
commit2b7af65dfcefa476b410941031a4b9e0921bbb19
tree918c22664c7e9f3130542ad3a8b636d6ec28d0de
parentf159f6dd2592c65c9e77039a01f39e0c32f5be41
ipv6: Pass fib6_result to rt6_select and find_rr_leaf

Pass fib6_result to rt6_select. Instead of returning the fib entry, it
will set f6i and nh based on the lookup.

find_rr_leaf is changed to remove the match option in favor of taking
fib6_result and having __find_rr_leaf set f6i in the result.

In the process, update fib6_info references in __find_rr_leaf to f6i names.

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