Re: [PATCH][NETNS] Don't panic on creating the namespace's loopback

2007-10-15 Thread David Miller
From: Pavel Emelyanov <[EMAIL PROTECTED]> Date: Mon, 15 Oct 2007 14:23:13 +0400 > When the loopback device is failed to initialize inside the new > namespaces, panic() is called. Do not do it when the namespace > in question is not the init_net. > > Plus cleanup the error path a bit. > > Signe

[PATCH][NETNS] Don't panic on creating the namespace's loopback

2007-10-15 Thread Pavel Emelyanov
When the loopback device is failed to initialize inside the new namespaces, panic() is called. Do not do it when the namespace in question is not the init_net. Plus cleanup the error path a bit. Signed-off-by: Pavel Emelyanov <[EMAIL PROTECTED]> --- drivers/net/loopback.c | 11 +--