]> git.baikalelectronics.ru Git - kernel.git/commit
net: Add fib_nh_common and update fib_nh and fib6_nh
authorDavid Ahern <dsahern@gmail.com>
Thu, 28 Mar 2019 03:53:57 +0000 (20:53 -0700)
committerDavid S. Miller <davem@davemloft.net>
Fri, 29 Mar 2019 17:48:04 +0000 (10:48 -0700)
commit58d8ed0813c47751c92d93548646cfba83ccfddb
treed3491ccb4fd5129cc45d364fda8b67f3e056c366
parent926f0544bb8187c469782ab501ad5b5d74c89322
net: Add fib_nh_common and update fib_nh and fib6_nh

Add fib_nh_common struct with common nexthop attributes. Convert
fib_nh and fib6_nh to use it. Use macros to move existing
fib_nh_* references to the new nh_common.nhc_*.

Signed-off-by: David Ahern <dsahern@gmail.com>
Reviewed-by: Ido Schimmel <idosch@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/ip6_fib.h
include/net/ip_fib.h
net/ipv4/fib_semantics.c
net/ipv6/route.c