]> git.baikalelectronics.ru Git - kernel.git/commit
[NET]: Relax the reference counting of init_net_ns
authorPavel Emelyanov <xemul@openvz.org>
Thu, 1 Nov 2007 07:43:49 +0000 (00:43 -0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 1 Nov 2007 07:43:49 +0000 (00:43 -0700)
commitd77f8a3aae2b3d9ecdb7911f70016ab8ab431713
tree1b61906c5ce3ccabdbeb4cec1815c4e0cc5faa0c
parentaf4cbf4908804cd26b7a548f1d761a4f122e6aaf
[NET]: Relax the reference counting of init_net_ns

When the CONFIG_NET_NS is n there's no need in refcounting
the initial net namespace. So relax this code by making a
stupid stubs for the "n" case.

Signed-off-by: Pavel Emelyanov <xemul@openvz.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/net_namespace.h