net_sched: transform qdisc running bit into a seqcount
[cascardo/linux.git] / drivers / net / ppp / ppp_generic.c
index 8dedafa..aeabaa4 100644 (file)
@@ -1313,9 +1313,12 @@ ppp_get_stats64(struct net_device *dev, struct rtnl_link_stats64 *stats64)
 }
 
 static struct lock_class_key ppp_tx_busylock;
+static struct lock_class_key ppp_qdisc_running_key;
+
 static int ppp_dev_init(struct net_device *dev)
 {
        dev->qdisc_tx_busylock = &ppp_tx_busylock;
+       dev->qdisc_running_key = &ppp_qdisc_running_key;
        return 0;
 }