diff options
author | David Ahern <dsahern@gmail.com> | 2018-11-06 21:51:15 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-11-07 00:00:45 +0100 |
commit | d7e774f356765d49b63490d611caa496713b7abb (patch) | |
tree | 73ed3592a8b38e709a05177c2dac09050c27b22b /include | |
parent | net: Add extack argument to rtnl_create_link (diff) | |
download | linux-d7e774f356765d49b63490d611caa496713b7abb.tar.xz linux-d7e774f356765d49b63490d611caa496713b7abb.zip |
net: Add extack argument to ip_fib_metrics_init
Add extack argument to ip_fib_metrics_init and add messages for invalid
metrics.
Signed-off-by: David Ahern <dsahern@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include')
-rw-r--r-- | include/net/ip.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/net/ip.h b/include/net/ip.h index 72593e171d14..462182f78236 100644 --- a/include/net/ip.h +++ b/include/net/ip.h @@ -421,7 +421,8 @@ static inline unsigned int ip_skb_dst_mtu(struct sock *sk, } struct dst_metrics *ip_fib_metrics_init(struct net *net, struct nlattr *fc_mx, - int fc_mx_len); + int fc_mx_len, + struct netlink_ext_ack *extack); static inline void ip_fib_metrics_put(struct dst_metrics *fib_metrics) { if (fib_metrics != &dst_default_metrics && |