[Devel] Re: [PATCH 1/2] cleanup pernet operation without CONFIG_NET_NS

Eric W. Biederman ebiederm at xmission.com
Thu Nov 15 06:13:36 PST 2007


"Denis V. Lunev" <den at openvz.org> writes:

> 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.

This patch looks sane, and reasonable in the !CONFIG_NET_NS case.

Eric
_______________________________________________
Containers mailing list
Containers at lists.linux-foundation.org
https://lists.linux-foundation.org/mailman/listinfo/containers




More information about the Devel mailing list