From 508faa541275958ccef5c46d72e2c932dcd963bc Mon Sep 17 00:00:00 2001 From: "Jason A. Donenfeld" Date: Mon, 10 Jul 2017 04:00:29 +0200 Subject: device: support 4.13's extact newlink param Signed-off-by: Jason A. Donenfeld --- src/device.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/device.c') 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); -- cgit v1.2.3