diff options
author | David Ahern <dsahern@gmail.com> | 2018-11-06 12:51:14 -0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-11-06 15:00:45 -0800 |
commit | d0522f1cd25edb796548f91e04766fa3cbc3b6df (patch) | |
tree | c07c462baadbfd79808e28ae824626fda989507f /drivers/net/veth.c | |
parent | 0b215b9798640a542c526e3ae69dee83861a4aee (diff) | |
download | linux-next-d0522f1cd25edb796548f91e04766fa3cbc3b6df.tar.gz |
net: Add extack argument to rtnl_create_link
Add extack arg to rtnl_create_link and add messages for invalid
number of Tx or Rx queues.
Signed-off-by: David Ahern <dsahern@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/veth.c')
-rw-r--r-- | drivers/net/veth.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/veth.c b/drivers/net/veth.c index 890fa5b905e2..f412ea1cef18 100644 --- a/drivers/net/veth.c +++ b/drivers/net/veth.c @@ -1253,7 +1253,7 @@ static int veth_newlink(struct net *src_net, struct net_device *dev, return PTR_ERR(net); peer = rtnl_create_link(net, ifname, name_assign_type, - &veth_link_ops, tbp); + &veth_link_ops, tbp, extack); if (IS_ERR(peer)) { put_net(net); return PTR_ERR(peer); |