diff options
Diffstat (limited to 'net/sched/sch_api.c')
-rw-r--r-- | net/sched/sch_api.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/net/sched/sch_api.c b/net/sched/sch_api.c index 4799c4840c1a..d84f7e734cd7 100644 --- a/net/sched/sch_api.c +++ b/net/sched/sch_api.c | |||
@@ -833,6 +833,8 @@ qdisc_create(struct net_device *dev, struct netdev_queue *dev_queue, | |||
833 | goto err_out3; | 833 | goto err_out3; |
834 | } | 834 | } |
835 | lockdep_set_class(qdisc_lock(sch), &qdisc_tx_lock); | 835 | lockdep_set_class(qdisc_lock(sch), &qdisc_tx_lock); |
836 | if (!netif_is_multiqueue(dev)) | ||
837 | sch->flags |= TCQ_F_ONETXQUEUE; | ||
836 | } | 838 | } |
837 | 839 | ||
838 | sch->handle = handle; | 840 | sch->handle = handle; |