net_sched: transform qdisc running bit into a seqcount
[cascardo/linux.git] / drivers / net / bonding / bond_main.c
index 941ec99..681af31 100644 (file)
@@ -4610,6 +4610,7 @@ static int bond_check_params(struct bond_params *params)
 static struct lock_class_key bonding_netdev_xmit_lock_key;
 static struct lock_class_key bonding_netdev_addr_lock_key;
 static struct lock_class_key bonding_tx_busylock_key;
+static struct lock_class_key bonding_qdisc_running_key;
 
 static void bond_set_lockdep_class_one(struct net_device *dev,
                                       struct netdev_queue *txq,
@@ -4625,6 +4626,7 @@ static void bond_set_lockdep_class(struct net_device *dev)
                          &bonding_netdev_addr_lock_key);
        netdev_for_each_tx_queue(dev, bond_set_lockdep_class_one, NULL);
        dev->qdisc_tx_busylock = &bonding_tx_busylock_key;
+       dev->qdisc_running_key = &bonding_qdisc_running_key;
 }
 
 /* Called from registration process */