summaryrefslogtreecommitdiffhomepage
path: root/src/device.c
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2017-07-10 04:00:29 +0200
committerJason A. Donenfeld <Jason@zx2c4.com>2017-07-20 03:37:39 +0200
commit508faa541275958ccef5c46d72e2c932dcd963bc (patch)
tree9ab581ca7114145997e6e413345260bcbce11e9e /src/device.c
parent3e1e9b1d112e0665a2007d026d0215235895f765 (diff)
device: support 4.13's extact newlink param
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'src/device.c')
-rw-r--r--src/device.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/device.c b/src/device.c
index 2d61502..8ac433d 100644
--- a/src/device.c
+++ b/src/device.c
@@ -272,7 +272,7 @@ static void setup(struct net_device *dev)
memset(wg, 0, sizeof(struct wireguard_device));
}
-static int newlink(struct net *src_net, struct net_device *dev, struct nlattr *tb[], struct nlattr *data[])
+static int newlink(struct net *src_net, struct net_device *dev, struct nlattr *tb[], struct nlattr *data[], struct netlink_ext_ack *extack)
{
int ret = -ENOMEM, cpu;
struct wireguard_device *wg = netdev_priv(dev);