summaryrefslogtreecommitdiffstats
path: root/net/lapb
diff options
context:
space:
mode:
authorDavid Ahern <dsahern@gmail.com>2018-04-18 02:33:07 +0200
committerDavid S. Miller <davem@davemloft.net>2018-04-18 05:41:15 +0200
commita919525ad832d2bb1388b2303832a2307b30aeff (patch)
treec07aebe1fb80d8cc52d93efe877e7db7ca5fe13c /net/lapb
parentipv6: send netlink notifications for manually configured addresses (diff)
downloadlinux-a919525ad832d2bb1388b2303832a2307b30aeff.tar.xz
linux-a919525ad832d2bb1388b2303832a2307b30aeff.zip
net: Move fib_convert_metrics to metrics file
Move logic of fib_convert_metrics into ip_metrics_convert. This allows the code that converts netlink attributes into metrics struct to be re-used in a later patch by IPv6. This is mostly a code move with the following changes to variable names: - fi->fib_net becomes net - fc_mx and fc_mx_len are passed as inputs pulled from fib_config - metrics array is passed as an input from fi->fib_metrics->metrics Signed-off-by: David Ahern <dsahern@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/lapb')
0 files changed, 0 insertions, 0 deletions