commit | db4094bca7a5746bc8e36db0557e8732963e88f0 | [log] [tgz] |
---|---|---|
author | Phil Sutter <phil@nwl.cc> | Thu Aug 27 21:21:37 2015 +0200 |
committer | David S. Miller <davem@davemloft.net> | Thu Aug 27 17:14:29 2015 -0700 |
tree | 439fac3c1a73a85d812acfdee43217be662623ee | |
parent | f84bb1eac0275283ccd76455e20f926e186ea8c8 [diff] |
net: sched: ignore tx_queue_len when assigning default qdisc Since alloc_netdev_mqs() sets IFF_NO_QUEUE for drivers not initializing tx_queue_len, it is safe to assume that if tx_queue_len is zero, dev->priv flags always contains IFF_NO_QUEUE. Signed-off-by: Phil Sutter <phil@nwl.cc> Signed-off-by: David S. Miller <davem@davemloft.net>