]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitd3a2d11f09e54065f38d73d42a4e5f9e02723bb0
tree2ad5e74ffea0c7bae6f318475cf37231658c19e5
parent80feebe50a45667a5d4d93db7d1effc8f18f669c
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