OpenVZ Forum


Home » Mailing lists » Devel » [NETNS][patch 1/1] fix allnoconfig compilation error
Re: [NETNS][patch 1/1] fix allnoconfig compilation error [message #20177 is a reply to message #20171] Wed, 12 September 2007 21:27 Go to previous message
ebiederm is currently offline  ebiederm
Messages: 1354
Registered: February 2006
Senior Member
dlezcano@fr.ibm.com writes:

> From: Daniel Lezcano <dlezcano@fr.ibm.com>
>
> When CONFIG_NET=no, init_net is unresolved because net_namespace.c
> is not compiled and the include pull init_net definition.
>
> This problem was very similar with the ipc namespace where the kernel
> can be compiled with SYSV ipc out.
>
> This patch fix that defining a macro which simply remove init_net
> initialization from nsproxy namespace aggregator.
>
> Compiled and booted on qemu-i386 with CONFIG_NET=no and CONFIG_NET=yes.
>
> Signed-off-by: Daniel Lezcano <dlezcano@fr.ibm.com>
Acked-by: "Eric W. Biederman" <ebiederm@xmission.com>

This looks good and is quite simple.

My apologies for over looking the case where the networking stack is not
compiled in. 

Eric
_______________________________________________
Containers mailing list
Containers@lists.linux-foundation.org
https://lists.linux-foundation.org/mailman/listinfo/containers
 
Read Message
Read Message
Previous Topic: [NETNS][patch 0/1] fix allnoconfig compilation error
Next Topic: [net-2.6.24][NETNS][patch 0/1] fix allnoconfig compilation erro
Goto Forum:
  


Current Time: Fri Aug 22 05:14:57 GMT 2025

Total time taken to generate the page: 0.05380 seconds