diff options
author | Jason A. Donenfeld <Jason@zx2c4.com> | 2017-07-10 04:00:29 +0200 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2017-07-20 03:37:39 +0200 |
commit | 3d8b8a7823e93869a42f84010c05e14743baba4f (patch) | |
tree | 6508ea5a5131858e159c8ce073c82f6f6827f6c9 /src/device.c | |
parent | send: orphan skbs when buffering longterm (diff) | |
download | wireguard-monolithic-historical-3d8b8a7823e93869a42f84010c05e14743baba4f.tar.xz wireguard-monolithic-historical-3d8b8a7823e93869a42f84010c05e14743baba4f.zip |
device: support 4.13's extact newlink param
Diffstat (limited to 'src/device.c')
-rw-r--r-- | src/device.c | 2 |
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); |