]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - net/core/dev.c
netdev: Fix lockdep warnings in multiqueue configurations.
[linux-2.6-omap-h63xx.git] / net / core / dev.c
index 63d6bcddbf46d1b09388191da411d038b77adee6..69320a56a084667d860ccbd4d4b5573e6977672d 100644 (file)
@@ -4200,6 +4200,7 @@ static void netdev_init_queues(struct net_device *dev)
 {
        netdev_init_one_queue(dev, &dev->rx_queue, NULL);
        netdev_for_each_tx_queue(dev, netdev_init_one_queue, NULL);
+       spin_lock_init(&dev->tx_global_lock);
 }
 
 /**