diff options
author | David Ahern <dsahern@gmail.com> | 2018-11-06 21:51:14 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-11-07 00:00:45 +0100 |
commit | d0522f1cd25edb796548f91e04766fa3cbc3b6df (patch) | |
tree | c07c462baadbfd79808e28ae824626fda989507f /net/ipv4 | |
parent | ipv6: gro: do not use slow memcmp() in ipv6_gro_receive() (diff) | |
download | linux-d0522f1cd25edb796548f91e04766fa3cbc3b6df.tar.xz linux-d0522f1cd25edb796548f91e04766fa3cbc3b6df.zip |
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 'net/ipv4')
-rw-r--r-- | net/ipv4/ip_gre.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv4/ip_gre.c b/net/ipv4/ip_gre.c index 38befe829caf..2c67af644e64 100644 --- a/net/ipv4/ip_gre.c +++ b/net/ipv4/ip_gre.c @@ -1601,7 +1601,7 @@ struct net_device *gretap_fb_dev_create(struct net *net, const char *name, memset(&tb, 0, sizeof(tb)); dev = rtnl_create_link(net, name, name_assign_type, - &ipgre_tap_ops, tb); + &ipgre_tap_ops, tb, NULL); if (IS_ERR(dev)) return dev; |