diff options
author | Matthias Schiffer <mschiffer@universe-factory.net> | 2017-06-25 17:55:59 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-06-26 23:13:21 -0400 |
commit | 7a3f4a185169b195c33f1c54f33a44eba2d6aa96 (patch) | |
tree | 71b125722dcdfba64d75c96b07d65a7d2a4ed194 /net/8021q | |
parent | dacdbb4dfc1a1a1378df8ebc914d4fe82259ed46 (diff) |
net: add netlink_ext_ack argument to rtnl_link_ops.newlink
Add support for extended error reporting.
Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
Acked-by: David Ahern <dsahern@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/8021q')
-rw-r--r-- | net/8021q/vlan_netlink.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/net/8021q/vlan_netlink.c b/net/8021q/vlan_netlink.c index 9c94aad153b3..11b74e2b1036 100644 --- a/net/8021q/vlan_netlink.c +++ b/net/8021q/vlan_netlink.c | |||
@@ -115,7 +115,8 @@ static int vlan_changelink(struct net_device *dev, | |||
115 | } | 115 | } |
116 | 116 | ||
117 | static int vlan_newlink(struct net *src_net, struct net_device *dev, | 117 | static int vlan_newlink(struct net *src_net, struct net_device *dev, |
118 | struct nlattr *tb[], struct nlattr *data[]) | 118 | struct nlattr *tb[], struct nlattr *data[], |
119 | struct netlink_ext_ack *extack) | ||
119 | { | 120 | { |
120 | struct vlan_dev_priv *vlan = vlan_dev_priv(dev); | 121 | struct vlan_dev_priv *vlan = vlan_dev_priv(dev); |
121 | struct net_device *real_dev; | 122 | struct net_device *real_dev; |