forked from Minki/linux
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()
This commit is contained in:
commit
cba8784ae0
@ -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);
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user