]> 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)
commit1fd07abafd1285b2a1a2a86e2fe89ad975a88259
tree918c22664c7e9f3130542ad3a8b636d6ec28d0de
parent43cec82195ee6d41d368a5e5924710ed48ccdf3c
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