]> 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)
commit02f1490b95cdad0f60a4a10a3ff2043274edc7f7
tree2ad5e74ffea0c7bae6f318475cf37231658c19e5
parent4d8b2522705c0fa4e8e03d668d0dffd795b28f04
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