diff options
author | David Ahern <dsahern@gmail.com> | 2018-11-06 23:51:14 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-11-07 02:00:45 +0300 |
commit | d0522f1cd25edb796548f91e04766fa3cbc3b6df (patch) | |
tree | c07c462baadbfd79808e28ae824626fda989507f /drivers/net/can/vxcan.c | |
parent | 0b215b9798640a542c526e3ae69dee83861a4aee (diff) | |
download | linux-d0522f1cd25edb796548f91e04766fa3cbc3b6df.tar.xz |
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/can/vxcan.c')
-rw-r--r-- | drivers/net/can/vxcan.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/can/vxcan.c b/drivers/net/can/vxcan.c index ed6828821fbd..80af658e530d 100644 --- a/drivers/net/can/vxcan.c +++ b/drivers/net/can/vxcan.c @@ -207,7 +207,7 @@ static int vxcan_newlink(struct net *net, struct net_device *dev, return PTR_ERR(peer_net); peer = rtnl_create_link(peer_net, ifname, name_assign_type, - &vxcan_link_ops, tbp); + &vxcan_link_ops, tbp, extack); if (IS_ERR(peer)) { put_net(peer_net); return PTR_ERR(peer); |