diff options
author | Matthias Schiffer <mschiffer@universe-factory.net> | 2017-06-25 23:55:59 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-06-26 23:13:21 -0400 |
commit | 7a3f4a185169b195c33f1c54f33a44eba2d6aa96 (patch) | |
tree | 71b125722dcdfba64d75c96b07d65a7d2a4ed194 /net/ipv6/ip6_gre.c | |
parent | dacdbb4dfc1a1a1378df8ebc914d4fe82259ed46 (diff) | |
download | linux-7a3f4a185169b195c33f1c54f33a44eba2d6aa96.tar.gz linux-7a3f4a185169b195c33f1c54f33a44eba2d6aa96.tar.bz2 linux-7a3f4a185169b195c33f1c54f33a44eba2d6aa96.zip |
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/ipv6/ip6_gre.c')
-rw-r--r-- | net/ipv6/ip6_gre.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/net/ipv6/ip6_gre.c b/net/ipv6/ip6_gre.c index e0e726c338a7..f7c949d41fda 100644 --- a/net/ipv6/ip6_gre.c +++ b/net/ipv6/ip6_gre.c @@ -1342,7 +1342,8 @@ static bool ip6gre_netlink_encap_parms(struct nlattr *data[], } static int ip6gre_newlink(struct net *src_net, struct net_device *dev, - struct nlattr *tb[], struct nlattr *data[]) + struct nlattr *tb[], struct nlattr *data[], + struct netlink_ext_ack *extack) { struct ip6_tnl *nt; struct net *net = dev_net(dev); |