Skip to content

Commit

Permalink
net: 8021q: convert to using IFF_NO_QUEUE
Browse files Browse the repository at this point in the history
Signed-off-by: Phil Sutter <phil@nwl.cc>
Cc: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
Phil Sutter authored and David S. Miller committed Aug 18, 2015
1 parent 22dba39 commit 2e659c0
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions net/8021q/vlan_dev.c
Original file line number Diff line number Diff line change
Expand Up @@ -791,10 +791,9 @@ void vlan_setup(struct net_device *dev)
{
ether_setup(dev);

dev->priv_flags |= IFF_802_1Q_VLAN;
dev->priv_flags |= IFF_802_1Q_VLAN | IFF_NO_QUEUE;
dev->priv_flags &= ~IFF_TX_SKB_SHARING;
netif_keep_dst(dev);
dev->tx_queue_len = 0;

dev->netdev_ops = &vlan_netdev_ops;
dev->destructor = vlan_dev_free;
Expand Down

0 comments on commit 2e659c0

Please sign in to comment.