Re: [PATCH] tuntap: forbid changing mq flag for persistent device

2013-05-29 Thread David Miller
From: Jason Wang Date: Wed, 29 May 2013 12:32:11 +0800 > We currently allow changing the mq flag (IFF_MULTI_QUEUE) for a persistent > device. This will result a mismatch between the number the queues in netdev > and > tuntap. This is because we only allocate a 1q netdevice when IFF_MULTI_QUEUE

[PATCH] tuntap: forbid changing mq flag for persistent device

2013-05-28 Thread Jason Wang
We currently allow changing the mq flag (IFF_MULTI_QUEUE) for a persistent device. This will result a mismatch between the number the queues in netdev and tuntap. This is because we only allocate a 1q netdevice when IFF_MULTI_QUEUE was not specified, so when we set the IFF_MULTI_QUEUE and try to at