ipv6: Pass fib6_result to fib lookups
authorDavid Ahern <dsahern@gmail.com>
Tue, 16 Apr 2019 21:36:10 +0000 (14:36 -0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 18 Apr 2019 06:10:47 +0000 (23:10 -0700)
commiteffda4dd97e878ab83336bec7411cc41b5cc6d37
tree7091d54945d28a89581e4b49aebe816c817340af
parent8ff2e5b26cb84b1b0f502c0b7a3c62e4c4d86acc
ipv6: Pass fib6_result to fib lookups

Change fib6_lookup and fib6_table_lookup to take a fib6_result and set
f6i and nh rather than returning a fib6_info. For now both always
return 0.

A later patch set can make these more like the IPv4 counterparts and
return EINVAL, EACCESS, etc based on fib6_type.

Signed-off-by: David Ahern <dsahern@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/ip6_fib.h
include/net/ipv6_stubs.h
net/core/filter.c
net/ipv6/addrconf_core.c
net/ipv6/fib6_rules.c
net/ipv6/ip6_fib.c
net/ipv6/route.c