aboutsummaryrefslogtreecommitdiffstats
path: root/net/sched
diff options
context:
space:
mode:
Diffstat (limited to 'net/sched')
-rw-r--r--net/sched/sch_generic.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/net/sched/sch_generic.c b/net/sched/sch_generic.c
index 37b86eab6779..d20fcd2a5519 100644
--- a/net/sched/sch_generic.c
+++ b/net/sched/sch_generic.c
@@ -561,6 +561,7 @@ struct Qdisc *qdisc_alloc(struct netdev_queue *dev_queue,
561 561
562 INIT_LIST_HEAD(&sch->list); 562 INIT_LIST_HEAD(&sch->list);
563 skb_queue_head_init(&sch->q); 563 skb_queue_head_init(&sch->q);
564 spin_lock_init(&sch->busylock);
564 sch->ops = ops; 565 sch->ops = ops;
565 sch->enqueue = ops->enqueue; 566 sch->enqueue = ops->enqueue;
566 sch->dequeue = ops->dequeue; 567 sch->dequeue = ops->dequeue;