summaryrefslogtreecommitdiffstats
path: root/net/ipv4/ip_gre.c
diff options
context:
space:
mode:
authorMatthias Schiffer <mschiffer@universe-factory.net>2017-06-25 23:56:00 +0200
committerDavid S. Miller <davem@davemloft.net>2017-06-26 23:13:22 -0400
commitad744b223c521b1e01752a826774545c3e3acd8e (patch)
treef2682748db1aba4e605b90943600d9105d314792 /net/ipv4/ip_gre.c
parent7a3f4a185169b195c33f1c54f33a44eba2d6aa96 (diff)
downloadlinux-ad744b223c521b1e01752a826774545c3e3acd8e.tar.gz
linux-ad744b223c521b1e01752a826774545c3e3acd8e.tar.bz2
linux-ad744b223c521b1e01752a826774545c3e3acd8e.zip
net: add netlink_ext_ack argument to rtnl_link_ops.changelink
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/ipv4/ip_gre.c')
-rw-r--r--net/ipv4/ip_gre.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/net/ipv4/ip_gre.c b/net/ipv4/ip_gre.c
index 989f29f2f0d5..a63985c4bec7 100644
--- a/net/ipv4/ip_gre.c
+++ b/net/ipv4/ip_gre.c
@@ -980,7 +980,8 @@ static int ipgre_newlink(struct net *src_net, struct net_device *dev,
}
static int ipgre_changelink(struct net_device *dev, struct nlattr *tb[],
- struct nlattr *data[])
+ struct nlattr *data[],
+ struct netlink_ext_ack *extack)
{
struct ip_tunnel *t = netdev_priv(dev);
struct ip_tunnel_parm p;