summaryrefslogtreecommitdiffstats
path: root/include/net/rtnetlink.h
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2018-11-06 15:00:45 -0800
committerDavid S. Miller <davem@davemloft.net>2018-11-06 15:00:45 -0800
commit95772ec991f2df6ed20c070803dde5716d1a78fa (patch)
treea1961d9305000dc38c7ec2fc315a818b710e4055 /include/net/rtnetlink.h
parent0b215b9798640a542c526e3ae69dee83861a4aee (diff)
parent68d57f3b1d1a87b4022a0a7463126d7ea172bda1 (diff)
downloadlinux-95772ec991f2df6ed20c070803dde5716d1a78fa.tar.bz2
Merge branch 'net-More-extack-messages'
David Ahern says: ==================== net: More extack messages Add more extack messages for several link create errors (e.g., invalid number of queues, unknown link kind) and invalid metrics argument. ==================== Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/rtnetlink.h')
-rw-r--r--include/net/rtnetlink.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/net/rtnetlink.h b/include/net/rtnetlink.h
index cf26e5aacac4..e2091bb2b3a8 100644
--- a/include/net/rtnetlink.h
+++ b/include/net/rtnetlink.h
@@ -159,7 +159,8 @@ struct net *rtnl_link_get_net(struct net *src_net, struct nlattr *tb[]);
struct net_device *rtnl_create_link(struct net *net, const char *ifname,
unsigned char name_assign_type,
const struct rtnl_link_ops *ops,
- struct nlattr *tb[]);
+ struct nlattr *tb[],
+ struct netlink_ext_ack *extack);
int rtnl_delete_link(struct net_device *dev);
int rtnl_configure_link(struct net_device *dev, const struct ifinfomsg *ifm);