Received: by 10.223.185.116 with SMTP id b49csp5089765wrg; Tue, 27 Feb 2018 07:38:38 -0800 (PST) X-Google-Smtp-Source: AG47ELtAMuD1VPciIGdRZkbTizJ/4m7xj8UQpbf1RnAlNTDGA1u9gx65Pf2yEPb6HhHNwjj60E2B X-Received: by 10.98.185.11 with SMTP id z11mr3952845pfe.153.1519745917886; Tue, 27 Feb 2018 07:38:37 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1519745917; cv=none; d=google.com; s=arc-20160816; b=pR0UVk1hF8ObprfExiCE98wl7+gPQa2oN/bnCueGcmBljwlvwvkbg6NHFVpdlstzb7 qD1VpOHMU+05b7wFXD1NlzALbyYAsFy3E8ELoMUdN9t54q+iW4zdBO9xNhXgIg9/V4lc +M3yNy632xLyEJfFnK2ojA5NG+4GuFFgY2ZuxpGFJul+KsmR8qHSXMsJuuCZWqnhkZsV XVPchL0eEJXbZURc6tdzXsemqx+hqh3Gtvybtb/aemuasxJMIDEkn6VwlZCP6e7MFOwe Mto2BVcPHxsGWt0I1ebZpGh+/Lf2ThcoD0CBU9/4m0SGDAqem9dddzcsFt9s+SVM0VUq jfKg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:from:subject:cc:to:message-id:date :arc-authentication-results; bh=t14O2XD2EGzuE73WS09XY0HQbCwte5KVaMj9Z4qTqlM=; b=YgCgtSG4HjK/3VUb9268M77JTcpFm/qYx4z58HSRnJTms70qsy1QJcPLku9FsIRnEk OMSrZlMe/zqVFtGu6eArrPgRoMf9a5HeqV6a3NEyUoyFnD1xRqwGg+1DvFTxSBXeQ28O 6hpjNaeEk/hs5DMVSpoQJM/IVQbwvfk1NU29otuRZJjTP8+paJIFxH9SkH2/Nt8Nx3up n4QgVdBoTrwCGNF7SruHo5/fs+7oySzDODxtx1q5L26HLUD1ld4P3IusU6TKjyEZkH/b RljiW0d7OnxzYgWio3XVpaEMP54PeQdb7rkepHOIwzsYpat+7S9RcpDKzRcOXNNz/Vxc OS1w== 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 n13si7203510pgc.528.2018.02.27.07.38.23; Tue, 27 Feb 2018 07:38:37 -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 S1753619AbeB0Phj (ORCPT + 99 others); Tue, 27 Feb 2018 10:37:39 -0500 Received: from shards.monkeyblade.net ([184.105.139.130]:56602 "EHLO shards.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752884AbeB0Phh (ORCPT ); Tue, 27 Feb 2018 10:37:37 -0500 Received: from localhost (67.110.78.66.ptr.us.xo.net [67.110.78.66]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) (Authenticated sender: davem-davemloft) by shards.monkeyblade.net (Postfix) with ESMTPSA id D29A41426781F; Tue, 27 Feb 2018 07:37:34 -0800 (PST) Date: Tue, 27 Feb 2018 10:37:33 -0500 (EST) Message-Id: <20180227.103733.38369293607878900.davem@davemloft.net> To: arnd@arndb.de Cc: mcroce@redhat.com, mika.westerberg@linux.intel.com, netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] [net-next] ipvlan: fix building with modular IPV6 From: David Miller In-Reply-To: <20180226094159.2519438-1-arnd@arndb.de> References: <20180226094159.2519438-1-arnd@arndb.de> X-Mailer: Mew version 6.7 on Emacs 25.3 / 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, 27 Feb 2018 07:37:35 -0800 (PST) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Arnd Bergmann Date: Mon, 26 Feb 2018 10:41:30 +0100 > 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 Applied, thank you.