Received: by 10.192.165.148 with SMTP id m20csp1000911imm; Fri, 27 Apr 2018 10:54:17 -0700 (PDT) X-Google-Smtp-Source: AB8JxZrLOk4SJNYl9zIVpEZjvWD7lRFGoV2pB1NMqksRMdNin2fOynts3dXiroEIwqTH9TYAfeBI X-Received: by 2002:a17:902:7146:: with SMTP id u6-v6mr3056616plm.289.1524851657336; Fri, 27 Apr 2018 10:54:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1524851657; cv=none; d=google.com; s=arc-20160816; b=TZRs8+NQvMAHUEIFPm6itYVnpqCFuZiDHAfRzXW68N90nfqFKS+Wuex48ZQYCaNSCo fsXoDebeIXAMaABLJzT65Q7Gy1PefGalAv+0Yu3oFDy11G3GkVi/DL0ltb67hPJ2MNvh eHXcofF8GZnEnZz7ntstTzq4CHIoCadITchHeVkwsCfbjOBF8BmfnMuTlr3zomtoq9LB jT3fRkVy+EeI3Z8mBkF4sP6UDXjmiF2rxftKUg8bMjPdOH+ZLOEZp1DwU59VEsjt/KVb JZdfRj/Ywz3j36ctbo5eSjZtKQ41wQ/PZw0Fn1tzAaTCOUHue4LR08+TB14nr0msQEb8 eP7w== 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=O4FciLgenEqRkYgqYPqZA0JrTO7isaWGT25O/h4/TeE=; b=nScUzVvat5xXoA0iuz0OHB9X+S8Q1vQ0MKdeTCXGCPyK2kAJLaeN5e0FlapL09LeHx B6Dkw3jiqeqAXal/qrZGe47IPHwsDyodpM0hcHGSoc20gy10E402kkwKzT+/QzZnVNvo 6f8CUqmV65iy+gvytFte29bsJEbq0ERlUmYfBcs+bjIfWNZv+uohKAFJpjXfFmPzuxvx cVru+KERsvPSa55JJr17c6b9WKomdnIb7PKNZMWHSEMnDQusPoNEyo+ULyRnMUuDbE7S gRUDE7W27m6/qYHHUkLoZd8kKeEtaCPPjX2D/n+9xJ6ORLVdmOuBuwCmXC2omnYIKoAJ eLxQ== 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 v10-v6si1513558ply.328.2018.04.27.10.54.03; Fri, 27 Apr 2018 10:54:17 -0700 (PDT) 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 S1757856AbeD0Rw2 (ORCPT + 99 others); Fri, 27 Apr 2018 13:52:28 -0400 Received: from shards.monkeyblade.net ([184.105.139.130]:55506 "EHLO shards.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757404AbeD0Rw0 (ORCPT ); Fri, 27 Apr 2018 13:52:26 -0400 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 195B31008912A; Fri, 27 Apr 2018 10:52:26 -0700 (PDT) Date: Fri, 27 Apr 2018 13:52:25 -0400 (EDT) Message-Id: <20180427.135225.1468704958478892765.davem@davemloft.net> To: tobias.regnery@gmail.com Cc: netdev@vger.kernel.org, linux-kernel@vger.kernel.org, alexey.kodanev@oracle.com Subject: Re: [PATCH net-next] geneve: fix build with modular IPV6 From: David Miller In-Reply-To: <20180426103636.16113-1-tobias.regnery@gmail.com> References: <20180426103636.16113-1-tobias.regnery@gmail.com> 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]); Fri, 27 Apr 2018 10:52:26 -0700 (PDT) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Tobias Regnery Date: Thu, 26 Apr 2018 12:36:36 +0200 > Commit c40e89fd358e ("geneve: configure MTU based on a lower device") added > an IS_ENABLED(CONFIG_IPV6) to geneve, leading to the following link error > with CONFIG_GENEVE=y and CONFIG_IPV6=m: > > drivers/net/geneve.o: In function `geneve_link_config': > geneve.c:(.text+0x14c): undefined reference to `rt6_lookup' > > Fix this by adding a Kconfig dependency and forcing GENEVE to be a module > when IPV6 is a module. > > Fixes: c40e89fd358e ("geneve: configure MTU based on a lower device") > Signed-off-by: Tobias Regnery Applied, thank you.