commit | 6cf9dfd3bd62edfff69f11c0f111bc261166e4c7 | [log] [tgz] |
---|---|---|
author | Florian Westphal <fw@strlen.de> | Mon Aug 31 15:58:44 2015 +0200 |
committer | David S. Miller <davem@davemloft.net> | Mon Aug 31 12:34:00 2015 -0700 |
tree | a19d1ff89446023388fcd70c3dcb2525ccc7404e | |
parent | 87583ebb9f6ea6dc7f8ef167b815656787e429fc [diff] |
net: fib: move metrics parsing to a helper fib_create_info() is already quite large, so before adding more code to the metrics section move that to a helper, similar to ip6_convert_metrics. Suggested-by: Daniel Borkmann <daniel@iogearbox.net> Signed-off-by: Florian Westphal <fw@strlen.de> Signed-off-by: David S. Miller <davem@davemloft.net>