aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
-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