[Devel] Re: [PATCH 1/2 net-2.6.26] [NETNS]: Compilation fix for include/linux/netdevice.h.
Alexey Dobriyan
adobriyan at sw.ru
Wed Mar 26 02:22:21 PDT 2008
On Wednesday 26 March 2008 10:47:42 David Miller wrote:
> From: "Denis V. Lunev" <den at openvz.org>
> Date: Wed, 26 Mar 2008 10:40:58 +0300
>
> > Commit commit c346dca10840a874240c78efe3f39acf4312a1f2
> > ([NET] NETNS: Omit net_device->nd_net without CONFIG_NET_NS)
> > breaks compilation with CONFIG_NET_NS set.
> >
> > Fix the typo.
> >
> > Signed-off-by: Denis V. Lunev <den at openvz.org>
>
> Applied.
>
> Too bad allmodconfig doesn't enable things which are y/n only.
Right now NET_NS can be more or less reliably selected via:
echo '# CONFIG_SYSFS is not set' >foo
echo 'CONFIG_NET_NS=y' >>foo
KCONFIG_ALLCONFIG=foo make allmodconfig
But this trick a) doesn't work with some options, b) likely to break when
someone will start selecting SYSFS.
More information about the Devel
mailing list