X-Git-Url: http://git.monstr.eu/?a=blobdiff_plain;f=net%2Fsched%2Fsch_generic.c;h=a8dd06c74e318cd23d1fb8b38e5032f0034666d2;hb=06f5553e0f0c2182268179b93856187d9cb86dd5;hp=d9ac60ffe927c6a0ebced39a5375e8c4444ea3ca;hpb=b0dfd9af28b60d7ec42c359ae84c1ba97e093100;p=linux-2.6-microblaze.git diff --git a/net/sched/sch_generic.c b/net/sched/sch_generic.c index d9ac60ffe927..a8dd06c74e31 100644 --- a/net/sched/sch_generic.c +++ b/net/sched/sch_generic.c @@ -913,7 +913,7 @@ struct Qdisc *qdisc_alloc(struct netdev_queue *dev_queue, /* seqlock has the same scope of busylock, for NOLOCK qdisc */ spin_lock_init(&sch->seqlock); - lockdep_set_class(&sch->busylock, + lockdep_set_class(&sch->seqlock, dev->qdisc_tx_busylock ?: &qdisc_tx_busylock); seqcount_init(&sch->running);