net/ipv6: Move nexthop data to fib6_nh
authorDavid Ahern <dsahern@gmail.com>
Wed, 18 Apr 2018 00:33:14 +0000 (17:33 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 18 Apr 2018 03:41:16 +0000 (23:41 -0400)
commit5e670d844b2a4e47d1b9b9aceb14dd3c12a6d4bf
tree2ad5e74ffea0c7bae6f318475cf37231658c19e5
parente8478e80e5a74f4ce47b043735f0066588fb64c7
net/ipv6: Move nexthop data to fib6_nh

Introduce fib6_nh structure and move nexthop related data from
rt6_info and rt6_info.dst to fib6_nh. References to dev, gateway or
lwtstate from a FIB lookup perspective are converted to use fib6_nh;
datapath references to dst version are left as is.

Signed-off-by: David Ahern <dsahern@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c
include/net/ip6_fib.h
include/net/ip6_route.h
net/ipv6/addrconf.c
net/ipv6/ip6_fib.c
net/ipv6/route.c