[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)
commitd46557955f2a35e58772518775464cdf354b3245
tree1b61906c5ce3ccabdbeb4cec1815c4e0cc5faa0c
parent1dba323b3f92cf4a475236763b0373cb7d49395d
[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