]> asedeno.scripts.mit.edu Git - linux.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)
commitf1741730dd18828fe3ea5fa91c22f41cf001c625
treed3491ccb4fd5129cc45d364fda8b67f3e056c366
parentad1601ae0260551f85691ca1ac814773fdcec239
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