[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <4D711B02.2060200@oracle.com>
Date: Fri, 04 Mar 2011 09:01:54 -0800
From: Randy Dunlap <randy.dunlap@...cle.com>
To: davem@...emloft.net, Patrick McHardy <kaber@...sh.net>,
Stephen Rothwell <sfr@...b.auug.org.au>,
netdev@...r.kernel.org, linux-next@...r.kernel.org
Subject: Re: [PATCH] net: Enter net/ipv6/ even if CONFIG_IPV6=n
On 03/04/11 01:35, Thomas Graf wrote:
> exthdrs_core.c and addrconf_core.c in net/ipv6/ contain bits which
> must be made available even if IPv6 is disabled.
>
> net/ipv6/Makefile already correctly includes them if CONFIG_IPV6=n
> but net/Makefile prevents entering the subdirectory.
>
> Signed-off-by: Thomas Graf <tgraf@...radead.org>
Acked-by: Randy Dunlap <randy.dunlap@...cle.com>
Thanks.
>
> diff --git a/net/Makefile b/net/Makefile
> index a3330eb..a51d946 100644
> --- a/net/Makefile
> +++ b/net/Makefile
> @@ -19,9 +19,7 @@ obj-$(CONFIG_NETFILTER) += netfilter/
> obj-$(CONFIG_INET) += ipv4/
> obj-$(CONFIG_XFRM) += xfrm/
> obj-$(CONFIG_UNIX) += unix/
> -ifneq ($(CONFIG_IPV6),)
> -obj-y += ipv6/
> -endif
> +obj-$(CONFIG_NET) += ipv6/
> obj-$(CONFIG_PACKET) += packet/
> obj-$(CONFIG_NET_KEY) += key/
> obj-$(CONFIG_BRIDGE) += bridge/
--
~Randy
*** Remember to use Documentation/SubmitChecklist when testing your code ***
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists