Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 7009212b authored by Zhang Shengju's avatar Zhang Shengju Committed by David S. Miller
Browse files

macvlan: convert to use IFF_NO_QUEUE



Use IFF_NO_QUEUE to indicate that a device can run without a qdisc.

Signed-off-by: default avatarZhang Shengju <zhangshengju@cmss.chinamobile.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent f5515885
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1069,7 +1069,7 @@ EXPORT_SYMBOL_GPL(macvlan_common_setup);
static void macvlan_setup(struct net_device *dev)
{
	macvlan_common_setup(dev);
	dev->tx_queue_len	= 0;
	dev->priv_flags |= IFF_NO_QUEUE;
}

static int macvlan_port_create(struct net_device *dev)