diff options
author | Jason A. Donenfeld <Jason@zx2c4.com> | 2017-09-11 14:26:32 +0200 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2017-09-11 14:26:32 +0200 |
commit | 42ca9a17268bf39d0cd74fb9788c46c5a90bd99c (patch) | |
tree | c496804066e4234dc855de9813b75c9c74fb4de6 /src | |
parent | 7fbe044b143ef29dbb5ee531f43da9f85b1269cd (diff) |
device: IFF_NO_QUEUE is a private flag, not a public one
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'src')
-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 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 |