diff options
author | David Ahern <dsahern@gmail.com> | 2018-10-04 20:07:53 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-10-04 21:54:19 -0700 |
commit | e1255ed4b6dafd9966c99cde5105891cc1ac70df (patch) | |
tree | a8118d6d76a79bc59220ce115663b9567365ce1a /include/net/dst.h | |
parent | cc5f0eb2164f9aa11fe631f8d905192e0233e262 (diff) | |
download | linux-next-e1255ed4b6dafd9966c99cde5105891cc1ac70df.tar.gz |
net: common metrics init helper for dst_entry
ipv4 and ipv6 both use refcounted metrics if FIB entries have metrics set.
Move the common initialization code to a helper and use for both protocols.
Signed-off-by: David Ahern <dsahern@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/dst.h')
0 files changed, 0 insertions, 0 deletions