Przeglądaj źródła

Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-2.6

* git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-2.6:
  net: Fix spinlock use in alloc_netdev_mq()
Linus Torvalds 16 lat temu
rodzic
commit
cba8784ae0
1 zmienionych plików z 0 dodań i 2 usunięć
  1. 0 2
      net/core/dev.c

+ 0 - 2
net/core/dev.c

@@ -4007,9 +4007,7 @@ static void dev_unicast_flush(struct net_device *dev)
 
 static void dev_unicast_init(struct net_device *dev)
 {
-	netif_addr_lock_bh(dev);
 	__hw_addr_init(&dev->uc);
-	netif_addr_unlock_bh(dev);
 }