[NET]: Make the device list and device lookups per namespace.
[pandora-kernel.git] / net / tipc / eth_media.c
index 406f0d2..d6fc057 100644 (file)
@@ -135,7 +135,7 @@ static int enable_bearer(struct tipc_bearer *tb_ptr)
 
        /* Find device with specified name */
 
-       for_each_netdev(pdev){
+       for_each_netdev(&init_net, pdev){
                if (!strncmp(pdev->name, driver_name, IFNAMSIZ)) {
                        dev = pdev;
                        break;