Received: by 10.192.165.148 with SMTP id m20csp1886644imm; Thu, 26 Apr 2018 03:47:47 -0700 (PDT) X-Google-Smtp-Source: AIpwx49IHrxOKZq/1XJaDpUHPr0pWxXaLs/HwnCCgXNppqEFDDCfyX4loxAi3P3SNmJZD1k0ir29 X-Received: by 10.99.156.9 with SMTP id f9mr20406843pge.274.1524739667643; Thu, 26 Apr 2018 03:47:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1524739667; cv=none; d=google.com; s=arc-20160816; b=UYJsbSW/dHRYsVPuTx7qW9JQW/V6EoFqLal3k8NBDcF9bWJw3w1nYz38XOgnVJN9sY 46lsLK0mEQJjgcuwK1aav9Ss02PMUmval1aQSP3YIdASuCWS5clboM3Mm6IsQXOgrZw6 C6+m4q6HgZla0gSYUGOPNz5FJI9i8aOTekCdGev/jBad1HpTWfDFAiDl5QbRTaElgQIz VCnOcSBFTq7Sd0j5o+V8PkY7om4VxYmEBI2rEM5EXqXomLxByVBYWcGwIk2MpQe+emMQ wzasDj/s2HwSt8fhVpM03VH+GpUu7Y3dE1JdGQLKKcH5S2aZP3HTK8hWVd5zv5zMkZJx Cpng== 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 :dkim-signature:arc-authentication-results; bh=LEujToeGBSkJMP6uHHDPM2kQ667g96m8KZ8o+0wHvaw=; b=VCcL7GcNlhQb2TLyjVa/wPMcjT92dnTatISlDF2lneiJKMyYEefBclS195XwELpxsv 0sXCQY7bLB3Y30d/HAIFqh7n9sMSHNG0Fri8J7dfJaZoQYjxduwTMT35McvFndbrMtwJ oEnL4tGGgFaWUr4PIr9eOc3Vbe+MoObD5MnkVUBpS2cMkieLuVIYN1Bj53nScSnKrmyB TDfopNXXVwH1jbBmwNJoacoRFPr4aqyNpSiyt9jU7KJ+5fHaDexTjrgqz6nJTzH2r9VM nSOmkaf+eCjruJiF30roivr3M355aiiIyn86yqEF4ZzaOjGl2hGA4jQp6YXtjEOx5BMe BV1g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=TCiNmazS; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 33-v6si19520025plb.19.2018.04.26.03.47.33; Thu, 26 Apr 2018 03:47:47 -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; dkim=pass header.i=@gmail.com header.s=20161025 header.b=TCiNmazS; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755543AbeDZKqU (ORCPT + 99 others); Thu, 26 Apr 2018 06:46:20 -0400 Received: from mail-wm0-f66.google.com ([74.125.82.66]:55268 "EHLO mail-wm0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754630AbeDZKqR (ORCPT ); Thu, 26 Apr 2018 06:46:17 -0400 Received: by mail-wm0-f66.google.com with SMTP id f6so12119043wmc.4; Thu, 26 Apr 2018 03:46:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=LEujToeGBSkJMP6uHHDPM2kQ667g96m8KZ8o+0wHvaw=; b=TCiNmazSGVWOkqOwmCfs7uQRy7oY+NV6NnziTZc5HSEwVz21JOQVpoOAuRj/liqUdM LtGEro2+VK6cbrXxqCXI2KFoTmCWpoax+873/ZQnn/kie6dS73zOHvbZ5lcykCsQ7QaH /u9eVNy7FWh4cZRotYLH5/xePq8Hcw4VTohJy7U6SXn8SVYCGu+6JyU4h7Iycqd738/z J0NutXpe6c5GNuiMe+3JL9Gr2bVnUHfVD/jBY5r/8PhnpuocZD1ENZws+lm3Bv0R2dPi GnDh6IIigvI6kX+e0TvTkPqnk86EmQ9l7jom+ZHSKEXV82VTcjWNhpQyUe57TuuZtdAF MW2Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=LEujToeGBSkJMP6uHHDPM2kQ667g96m8KZ8o+0wHvaw=; b=CTUkKVfWrd411l1aYWyKpT294yPlDhkw22SJk/OtKg/omdly6BGuTfRHgNWZdLPz3A vaJ7mSvlP0g6Ai7lI8YYPCD7WgXCPu2J2FMwc1jUZn3zDBssYTAbbTc9m84FxY86/IxA bi2DWCdh1VnwrsEuUnNLIfmkpYFbedMjNa0LmNGFTMPl1pKj+gz64GjJvgm+Ktf2QZqe 2essgvPP3Q2IZXedQkEo3os5/Yhcsl6b2NcgPXowoBprgGMDYoG3YQqB1Erepog60S+h doA4OPRxv+kF4mrlK1xdkiKELvhCYWpvQpSieEEChT1OBbYQ13RHr31woFOGx33tGR2j XUsg== X-Gm-Message-State: ALQs6tASoaTbLzY6rT5iaDtB4SacjKPJ0zhHrTObyB+hBydYUt2712/X O0HAzj5pNDnccyaQIa+ptJ62ETkhRe0= X-Received: by 10.28.100.137 with SMTP id y131mr3990288wmb.82.1524739575597; Thu, 26 Apr 2018 03:46:15 -0700 (PDT) Received: from [127.0.1.1] ([83.243.48.51]) by smtp.gmail.com with ESMTPSA id n79sm22681939wmi.20.2018.04.26.03.46.14 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 26 Apr 2018 03:46:14 -0700 (PDT) From: Tobias Regnery To: davem@davemloft.net, netdev@vger.kernel.org, linux-kernel@vger.kernel.org Cc: alexey.kodanev@oracle.com, Tobias Regnery Subject: [PATCH net-next] geneve: fix build with modular IPV6 Date: Thu, 26 Apr 2018 12:36:36 +0200 Message-Id: <20180426103636.16113-1-tobias.regnery@gmail.com> X-Mailer: git-send-email 2.17.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 --- drivers/net/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/net/Kconfig b/drivers/net/Kconfig index 891846655000..a029b27fd002 100644 --- a/drivers/net/Kconfig +++ b/drivers/net/Kconfig @@ -198,6 +198,7 @@ config VXLAN config GENEVE tristate "Generic Network Virtualization Encapsulation" depends on INET && NET_UDP_TUNNEL + depends on IPV6 || !IPV6 select NET_IP_TUNNEL select GRO_CELLS ---help--- -- 2.17.0