commit | f1741730dd18828fe3ea5fa91c22f41cf001c625 | [log] [tgz] |
---|---|---|
author | David Ahern <dsahern@gmail.com> | Wed Mar 27 20:53:57 2019 -0700 |
committer | David S. Miller <davem@davemloft.net> | Fri Mar 29 10:48:04 2019 -0700 |
tree | d3491ccb4fd5129cc45d364fda8b67f3e056c366 | |
parent | ad1601ae0260551f85691ca1ac814773fdcec239 [diff] |
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>