aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2017-09-11 14:26:32 +0200
committerJason A. Donenfeld <Jason@zx2c4.com>2017-09-11 14:26:32 +0200
commit73f7408827900b261bf84ef73090ad7df5311212 (patch)
tree875f31fcc1018218fb99d6afe679f705686dc6a3
parentversion: bump snapshot (diff)
downloadwireguard-monolithic-historical-73f7408827900b261bf84ef73090ad7df5311212.tar.xz
wireguard-monolithic-historical-73f7408827900b261bf84ef73090ad7df5311212.zip
device: IFF_NO_QUEUE is a private flag, not a public one
-rw-r--r--src/device.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/device.c b/src/device.c
index 054ab18..2514822 100644
--- a/src/device.c
+++ b/src/device.c
@@ -256,7 +256,7 @@ static void setup(struct net_device *dev)
dev->type = ARPHRD_NONE;
dev->flags = IFF_POINTOPOINT | IFF_NOARP;
#if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 3, 0)
- dev->flags |= IFF_NO_QUEUE;
+ dev->priv_flags |= IFF_NO_QUEUE;
#else
dev->tx_queue_len = 0;
#endif