Denis V. Lunev ed160e839d [NET]: Cleanup pernet operation without CONFIG_NET_NS
If CONFIG_NET_NS is not set, the only namespace is possible.

This patch removes list of pernet_operations and cleanups code a bit.
This list is not needed if there are no namespaces. We should just call
->init method.

Additionally, the ->exit will be called on module unloading only. This
case is safe - the code is not discarded. For the in/kernel code, ->exit
should never be called.

Signed-off-by: Denis V. Lunev <den@openvz.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
2007-11-13 03:23:21 -08:00
..
2007-11-07 04:15:12 -08:00
2007-11-10 22:00:28 -08:00
2007-11-02 08:47:06 +01:00
2007-11-02 08:47:06 +01:00
2007-07-16 09:05:45 -07:00
2005-04-16 15:20:36 -07:00