Re: [PATCH 3/5] Hide the dead code in the net_namespace.c

2007-10-31 Thread David Miller
From: Pavel Emelyanov <[EMAIL PROTECTED]> Date: Wed, 31 Oct 2007 22:28:51 +0300 > The namespace creation/destruction code is never called > if the CONFIG_NET_NS is n, so it's OK to move it under > appropriate ifdef. > > The copy_net_ns() in the "n" case checks for flags and > returns -EINVAL when

[PATCH 3/5] Hide the dead code in the net_namespace.c

2007-10-31 Thread Pavel Emelyanov
The namespace creation/destruction code is never called if the CONFIG_NET_NS is n, so it's OK to move it under appropriate ifdef. The copy_net_ns() in the "n" case checks for flags and returns -EINVAL when new net ns is requested. In a perfect world this stub must be in net_namespace.h, but this f