ipv6: Pass fib6_result to ip6_rt_cache_alloc
authorDavid Ahern <dsahern@gmail.com>
Tue, 16 Apr 2019 21:36:01 +0000 (14:36 -0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 18 Apr 2019 06:10:46 +0000 (23:10 -0700)
commit85bd05deb35a55f04faaf4393faaaa0f3153d515
treec7da95dbb0951203170f6f5c5b0b8cd05818bbd5
parent7e4b5128757397132ffff1d7b1be9f992e9cd9f2
ipv6: Pass fib6_result to ip6_rt_cache_alloc

Change ip6_rt_cache_alloc to take a fib6_result over a fib6_info.

Since ip6_rt_cache_alloc is only the caller, update the
rt6_is_gw_or_nonexthop helper to take fib6_result.

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