diff options
author | Phil Sutter <phil@nwl.cc> | 2015-08-18 10:30:41 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-08-18 11:55:06 -0700 |
commit | 0a5f107b6774aa9c48ca3e924dccaf1296ef6a43 (patch) | |
tree | 60248ddc3ae02dd70812d5808f1d87c84af9add6 /net/dsa | |
parent | bf485bcf0df5dcb01b723efc9d5887329e515aa7 (diff) | |
download | linux-stable-0a5f107b6774aa9c48ca3e924dccaf1296ef6a43.tar.gz linux-stable-0a5f107b6774aa9c48ca3e924dccaf1296ef6a43.tar.bz2 linux-stable-0a5f107b6774aa9c48ca3e924dccaf1296ef6a43.zip |
net: dsa: convert to using IFF_NO_QUEUE
Signed-off-by: Phil Sutter <phil@nwl.cc>
Cc: Lennert Buytenhek <buytenh@wantstofly.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/dsa')
-rw-r--r-- | net/dsa/slave.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/dsa/slave.c b/net/dsa/slave.c index 373ff315030d..cce97385f743 100644 --- a/net/dsa/slave.c +++ b/net/dsa/slave.c @@ -1147,7 +1147,7 @@ int dsa_slave_create(struct dsa_switch *ds, struct device *parent, slave_dev->features = master->vlan_features; slave_dev->ethtool_ops = &dsa_slave_ethtool_ops; eth_hw_addr_inherit(slave_dev, master); - slave_dev->tx_queue_len = 0; + slave_dev->priv_flags |= IFF_NO_QUEUE; slave_dev->netdev_ops = &dsa_slave_netdev_ops; slave_dev->switchdev_ops = &dsa_slave_switchdev_ops; |