From 73f7408827900b261bf84ef73090ad7df5311212 Mon Sep 17 00:00:00 2001 From: "Jason A. Donenfeld" Date: Mon, 11 Sep 2017 14:26:32 +0200 Subject: device: IFF_NO_QUEUE is a private flag, not a public one --- src/device.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3-59-g8ed1b