Received: by 10.223.185.116 with SMTP id b49csp3546047wrg; Mon, 26 Feb 2018 01:43:19 -0800 (PST) X-Google-Smtp-Source: AH8x225rfzhGC2iMMZc2MwQKtuX4yWB5c4lXJZLc8eq8/RvUhRl8xVtOr2GUrh3PT6ErNmdXQXlG X-Received: by 10.101.91.3 with SMTP id y3mr8057745pgq.149.1519638199311; Mon, 26 Feb 2018 01:43:19 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1519638199; cv=none; d=google.com; s=arc-20160816; b=bC1v38zz2ghnzIC27T5sADWeKL0Z9jVvT8NVdvdbJDBwacMkoEj2OhaUK7dScBb3Xk yPm5BSS0C7ppsvnyTlZfhHDUvrWVF7bGkruxTAE/SCXHcQIygpGxM/ZksI52sjBJe6CW pi5HJwH54s4OnfBQi3o2RqKnd3jMM2GXUTjauKFVVok8o4n51ME8TiXxp30W9jcO3MRv syxuQlnh88f00eCGKyHQsfjxN6r6r9KkF4S9a3+UJicTf97b1CucJSzv/4/kxP77ccSu RhXTa7ghwuXpUFG7hn+lBMOPFHaZpesvA6PE20IsB343nhDtZS9xHKjMf87IBHtkbgri AzmA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :arc-authentication-results; bh=eMKSrd47L5+UH/vnKTwSCP/geCBXaDgby1PQlUV9Jtg=; b=N4oVGk7CIuQsN668KfLzel+wGGBIzMFVrcN3JaPwD67YA6OvIRTG/bWalTn6TD4UM1 +iLiRgW/AMJKIpTrpP45LuFWfER6IfU7c7jHAlkENK7vVvm2WZyNtxgTwYaWf46di3HE Ru4FehodtguF+w3HoDGhd6DUuAlVjWYfQNchIZIOZBu+0x12pBaNPA7cUR1Oz9wYs8Rr ekXAxwDmCEX2y6wO7nSpOwvvmt2KYNCLTJI0e16ycnbsoFuSHG+kfKjxk0ieWR1llhRW EfHqGrv5XHQKyzeGocCJdTadUBbqrr96j5HeHYe29DMlkiVAABotMiF0E0Z9k0rA3RN2 slYw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 61-v6si6513884plc.343.2018.02.26.01.43.05; Mon, 26 Feb 2018 01:43:19 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752358AbeBZJmV (ORCPT + 99 others); Mon, 26 Feb 2018 04:42:21 -0500 Received: from mout.kundenserver.de ([212.227.126.134]:43637 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752007AbeBZJmQ (ORCPT ); Mon, 26 Feb 2018 04:42:16 -0500 Received: from wuerfel.lan ([95.208.111.237]) by mrelayeu.kundenserver.de (mreue006 [212.227.15.129]) with ESMTPA (Nemesis) id 0MW4Oi-1fEOua1Foe-00X6hp; Mon, 26 Feb 2018 10:42:04 +0100 From: Arnd Bergmann To: "David S. Miller" , Matteo Croce Cc: Arnd Bergmann , Mika Westerberg , netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] [net-next] ipvlan: fix building with modular IPV6 Date: Mon, 26 Feb 2018 10:41:30 +0100 Message-Id: <20180226094159.2519438-1-arnd@arndb.de> X-Mailer: git-send-email 2.9.0 X-Provags-ID: V03:K0:kGAAr4EFWQ6FiOFgacok7AINiGQp+EsVhFhkoDskgqyYLPHv9WF Vt80cS8GNtChJ4LALrDmsrgE5uoePBoYQCLg+Uvis83bFlzneYZHJItkaESF70l7tUN8Nxk 3f3DHu/LIxh1WWy86ZNAA2iSbC/fCWFEIgiRXOrf5xcqOTh+HHt/Gt6KOhrTvJ9wKPKBgLR L/NSEwFFJMOY2Za/WSu6w== X-UI-Out-Filterresults: notjunk:1;V01:K0:QCNYtCZmCn4=:kbuOJR43I4/2Lu6t69/WM+ IcnCm0QnycOowya9g/+gSttgn9hxCMoZGYw2pQQ6XpZRl6roibyCvFEP/oXMJ4/djyPIlH8be iS+eSwW6/5Eh9dqgrCmfJVv4gq/0tnJQFp0jB7hHsD1CDqVL0y2fO6na8XXLhfm2SKcZVKjot FkYg5ot9JN9l0y/BRW+WK1c1Tcdm56M+A8vlvLRaNIZc+U6lkWkoPWH6/rB92YswsCSUnxrou NpIFXAJx7u3HjrkKoCb43KGJWxKUSGfRyxFjwN0Qmz4waOf4oT/3h2HCJP9ZnZRJMXc4DWuSm c2z42yHxxNwq0o+Tgf2AeNITO0F6U8pqVS1NxE8z27Su+bNBm+sPxYeDVqtINWd0AzoHQXSAN PUVIpiakd+XY+TexomSMF/bUDIiCGNIDAeje7uALiqRZn+v1ogNlqwx3e0PKx9I0es1rv8l57 8bNS1r1kJBJAZUwE8lLZfRJroUFUeppX7A2+MdBJnIN6G1BxxW9AGfhZc5defNJzbPT6FxtN4 9UmVqv5FRI8dhs3lmen/06Xrg/sslC+9EEdmXJBB0HFzxpoAk5F/ddgtlsJZ7w3DLiyBiJmt7 aA+A9mKEdNIyPQaHeYReRFkHaaOChbZHS8BO5p6e/NNdMGb1I3cpwt2DrfKWUvK3Vd43DKysx wCIUBR73P86VxHe0ZdZZn3Km4kvX5APYQ0k0c5F7RVHOAkXCX9V/KHlBfmd4McYkSjVFGq38T AnAv/KFvgdXyMGjVjslH7AdjwmhbRTmoCOtbyQ== Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org We no longer depend on IPV6, but that now causes a link error with CONFIG_IPV6=m and CONFIG_IPVLAN=y: drivers/net/ipvlan/ipvlan_core.o: In function `ipvlan_queue_xmit': ipvlan_core.c:(.text+0x1440): undefined reference to `ip6_route_output_flags' drivers/net/ipvlan/ipvlan_core.o: In function `ipvlan_l3_rcv': ipvlan_core.c:(.text+0x1818): undefined reference to `ip6_route_input_lookup' This adds back the dependency on IPV6, with the option of building without IPV6, but forcing IPVLAN to be a module when IPV6 is a module. Fixes: 94333fac44d1 ("ipvlan: drop ipv6 dependency") Signed-off-by: Arnd Bergmann --- drivers/net/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/net/Kconfig b/drivers/net/Kconfig index d88b78a17440..08b85215c2be 100644 --- a/drivers/net/Kconfig +++ b/drivers/net/Kconfig @@ -149,6 +149,7 @@ config MACVTAP config IPVLAN tristate "IP-VLAN support" depends on INET + depends on IPV6 || !IPV6 depends on NETFILTER select NET_L3_MASTER_DEV ---help--- -- 2.9.0