From mboxrd@z Thu Jan 1 00:00:00 1970 From: Randy Dunlap Subject: Re: [PATCH] net: Enter net/ipv6/ even if CONFIG_IPV6=n Date: Fri, 04 Mar 2011 09:01:54 -0800 Message-ID: <4D711B02.2060200@oracle.com> References: <20110210180525.54ec83e9.sfr@canb.auug.org.au> <20110210095210.6fcf3011.randy.dunlap@oracle.com> <4D58DB20.5060401@trash.net> <20110303135414.bfcabb2a.randy.dunlap@oracle.com> <20110304093507.GG10761@canuck.infradead.org> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Return-path: Received: from rcsinet10.oracle.com ([148.87.113.121]:30098 "EHLO rcsinet10.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751723Ab1CDRDS (ORCPT ); Fri, 4 Mar 2011 12:03:18 -0500 In-Reply-To: <20110304093507.GG10761@canuck.infradead.org> Sender: linux-next-owner@vger.kernel.org List-ID: To: davem@davemloft.net, Patrick McHardy , Stephen Rothwell , netdev@vger.kernel.org, linux-next@vger.kernel.org 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 Acked-by: Randy Dunlap 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 ***