summaryrefslogtreecommitdiff
path: root/include/net/ip6_fib.h
diff options
context:
space:
mode:
authorDavid Ahern <dsahern@gmail.com>2019-03-21 05:21:34 -0700
committerDavid S. Miller <davem@davemloft.net>2019-03-21 10:16:54 -0700
commit67f69513470382b1872b12f0db4446a5ab74389a (patch)
tree250a98025ec646b0290afb8816b18e36c87e07aa /include/net/ip6_fib.h
parenta88c26f671b0860cc93c654d45f472e43831fb33 (diff)
ipv6: Move setting default metric for routes
ip6_route_info_create is a low level function for ensuring fc_metric is set. Move the check and default setting to the 2 locations that do not already set fc_metric before calling ip6_route_info_create. This is required for the next patch which moves addrconf allocations to ip6_route_info_create and want the metric for host routes to be 0. Signed-off-by: David Ahern <dsahern@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/ip6_fib.h')
0 files changed, 0 insertions, 0 deletions