From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756078AbcEaVII (ORCPT ); Tue, 31 May 2016 17:08:08 -0400 Received: from shards.monkeyblade.net ([149.20.54.216]:37511 "EHLO shards.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751364AbcEaVIH (ORCPT ); Tue, 31 May 2016 17:08:07 -0400 Date: Tue, 31 May 2016 14:08:04 -0700 (PDT) Message-Id: <20160531.140804.27676513823707793.davem@davemloft.net> To: arnd@arndb.de Cc: tom@herbertland.com, valentinrothberg@gmail.com, ziegler@cs.fau.de, kuznet@ms2.inr.ac.ru, jmorris@namei.org, yoshfuji@linux-ipv6.org, kaber@trash.net, netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] fou: fix IPv6 Kconfig options From: David Miller In-Reply-To: <1464727353-22489-1-git-send-email-arnd@arndb.de> References: <1464727353-22489-1-git-send-email-arnd@arndb.de> X-Mailer: Mew version 6.7 on Emacs 24.5 / Mule 6.0 (HANACHIRUSATO) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.5.12 (shards.monkeyblade.net [149.20.54.216]); Tue, 31 May 2016 14:08:05 -0700 (PDT) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Arnd Bergmann Date: Tue, 31 May 2016 22:42:11 +0200 > The Kconfig options I added to work around broken compilation ended > up screwing up things more, as I used the wrong symbol to control > compilation of the file, resulting in IPv6 fou support to never be built > into the kernel. > > Changing CONFIG_NET_FOU_IPV6_TUNNELS to CONFIG_IPV6_FOU fixes that > problem, I had renamed the symbol in one location but not the other, > and as the file is never being used by other kernel code, this did not > lead to a build failure that I would have caught. > > After that fix, another issue with the same patch becomes obvious, as we > 'select INET6_TUNNEL', which is related to IPV6_TUNNEL, but not the same, > and this can still cause the original build failure when IPV6_TUNNEL is > not built-in but IPV6_FOU is. The fix is equally trivial, we just need > to select the right symbol. > > I have successfully build 350 randconfig kernels with this patch > and verified that the driver is now being built. > > Signed-off-by: Arnd Bergmann > Reported-by: Valentin Rothberg > Fixes: fabb13db448e ("fou: add Kconfig options for IPv6 support") Applied, thanks Arnd.