commit | e4516ef65490ef29d48a98ad4d7c90dccf39068f | [log] [tgz] |
---|---|---|
author | David Ahern <dsahern@gmail.com> | Wed Mar 27 20:53:48 2019 -0700 |
committer | David S. Miller <davem@davemloft.net> | Fri Mar 29 10:48:03 2019 -0700 |
tree | d677d96aa377aea0f43abad32fdfc9a446698698 | |
parent | 331c7a402358de6206232f6aab7aa48ec6c1088a [diff] |
ipv4: Create init helper for fib_nh Consolidate the fib_nh initialization which is duplicated between fib_create_info for single path and fib_get_nhs for multipath. Export the helper to allow for use with nexthop objects in the future. Signed-off-by: David Ahern <dsahern@gmail.com> Reviewed-by: Ido Schimmel <idosch@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>