[NETNS]: Fix loopback network namespace initialization.
authorDaniel Lezcano <dlezcano@fr.ibm.com>
Wed, 12 Sep 2007 12:54:14 +0000 (14:54 +0200)
committerDavid S. Miller <davem@sunset.davemloft.net>
Wed, 10 Oct 2007 23:49:17 +0000 (16:49 -0700)
commitabf07acbb9f122218095d0d221e0f949160ccc37
treeeca70bc6a9c97fef39500bad0bca67efdf78402f
parent36ac3135f5e824942fada4efa3204066b4b40ab1
[NETNS]: Fix loopback network namespace initialization.

The core patchset of the network namespace sent by
Eric Biederman does not do dynamic loopback creation.
So there is no call to alloc_netdev_mq which fills the
network namespace field of the netdevice.

This patch assign the loopback to the init network namespace.

Signed-off-by: Daniel Lezcano <dlezcano@fr.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/loopback.c