Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net
Conflicts: drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c
This commit is contained in:
@@ -6313,7 +6313,8 @@ static struct hlist_head *netdev_create_hash(void)
|
||||
/* Initialize per network namespace state */
|
||||
static int __net_init netdev_init(struct net *net)
|
||||
{
|
||||
INIT_LIST_HEAD(&net->dev_base_head);
|
||||
if (net != &init_net)
|
||||
INIT_LIST_HEAD(&net->dev_base_head);
|
||||
|
||||
net->dev_name_head = netdev_create_hash();
|
||||
if (net->dev_name_head == NULL)
|
||||
|
Reference in New Issue
Block a user