diff options
author | David Ahern <dsahern@gmail.com> | 2017-05-28 00:19:31 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-05-30 17:55:33 +0200 |
commit | 074350e2ebcab9cf62528984a617cc0a05b24fff (patch) | |
tree | 2a9b356fe9c03acb8c6bf7d2cae8d4839eedc2a7 /net/mpls/internal.h | |
parent | net: mpls: Pull common label check into helper (diff) | |
download | linux-074350e2ebcab9cf62528984a617cc0a05b24fff.tar.xz linux-074350e2ebcab9cf62528984a617cc0a05b24fff.zip |
net: mpls: Add extack messages for route add and delete failures
Add error messages for failures in adding and deleting mpls routes.
This covers most of the annoying EINVAL errors.
Signed-off-by: David Ahern <dsahern@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/mpls/internal.h')
-rw-r--r-- | net/mpls/internal.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/mpls/internal.h b/net/mpls/internal.h index e59f299ceb3f..a015a6a1143b 100644 --- a/net/mpls/internal.h +++ b/net/mpls/internal.h @@ -205,7 +205,7 @@ int nla_put_labels(struct sk_buff *skb, int attrtype, u8 labels, int nla_get_labels(const struct nlattr *nla, u8 max_labels, u8 *labels, u32 label[], struct netlink_ext_ack *extack); int nla_get_via(const struct nlattr *nla, u8 *via_alen, u8 *via_table, - u8 via[]); + u8 via[], struct netlink_ext_ack *extack); bool mpls_output_possible(const struct net_device *dev); unsigned int mpls_dev_mtu(const struct net_device *dev); bool mpls_pkt_too_big(const struct sk_buff *skb, unsigned int mtu); |