From patchwork Mon Feb 11 14:32:36 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Matteo Croce X-Patchwork-Id: 1039877 X-Patchwork-Delegate: davem@davemloft.net Return-Path: X-Original-To: patchwork-incoming-netdev@ozlabs.org Delivered-To: patchwork-incoming-netdev@ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=vger.kernel.org (client-ip=209.132.180.67; helo=vger.kernel.org; envelope-from=netdev-owner@vger.kernel.org; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=redhat.com Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 43ypCw4dRzz9sMr for ; Tue, 12 Feb 2019 01:32:44 +1100 (AEDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730509AbfBKOcm (ORCPT ); Mon, 11 Feb 2019 09:32:42 -0500 Received: from mail-wm1-f66.google.com ([209.85.128.66]:54032 "EHLO mail-wm1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730506AbfBKOck (ORCPT ); Mon, 11 Feb 2019 09:32:40 -0500 Received: by mail-wm1-f66.google.com with SMTP id d15so17961191wmb.3 for ; Mon, 11 Feb 2019 06:32:39 -0800 (PST) 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:mime-version :content-transfer-encoding; bh=EdIRl4H+M1Mbp4dxVMQLYPssrTHlLaqqSLPyGGj3lJw=; b=L+HTXucpQPdg7Y0Jp2Owl2gmzlB04wVr73/3CzkhL/w9hOsaxDNAfWoNqdSntRo4G/ l3C7z7wkZZZr/esL3qVg9Epc9MF3C25Uvv87xxrYqqMlGBV1g3Q1e7jEmyG3vwpK/eCu 5Jh0P6OXUMdvgTQG/8xGTHLNr/p4VheCeFyC9thA6EVP/Tc/SYW4iO/VgTZtQ3wwcJSd Syhkh9hhfr6Xwzq4gobKM9TNeSShguzEWE9pHm6x49e0ITNKIjOh25+OJe2jIxmS7h+i TgnbOSdxxbWhcjRknkJ0JkWEQD87NSdl2ml2mvWUJeF48PXxs2pWSgPYHbw9msMHMiQB zumQ== X-Gm-Message-State: AHQUAuajFDQFtpW+3i/IyzYCtSGOupF6t+JtEXnSxrRcL4/foAcp6sJw 0padIflyGO2ZiGkjMQrsWpjnfKyF0cY= X-Google-Smtp-Source: AHgI3IaeSqnvhD+llbeUIql8oodpKpwwmApAR0BeUnFdlrEa5qtgfR699MyG6bcEBpA8lggrMY4/6A== X-Received: by 2002:a1c:43:: with SMTP id 64mr10235308wma.72.1549895558274; Mon, 11 Feb 2019 06:32:38 -0800 (PST) Received: from mcroce-redhat.mxp.redhat.com (nat-pool-mxp-t.redhat.com. [149.6.153.186]) by smtp.gmail.com with ESMTPSA id n3sm12219905wmf.46.2019.02.11.06.32.37 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 11 Feb 2019 06:32:37 -0800 (PST) From: Matteo Croce To: netdev@vger.kernel.org Cc: "David S . Miller" Subject: [PATCH net] geneve: change NET_UDP_TUNNEL dependency to select Date: Mon, 11 Feb 2019 15:32:36 +0100 Message-Id: <20190211143236.15039-1-mcroce@redhat.com> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Sender: netdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org Due to the depends on NET_UDP_TUNNEL, at the moment it is impossible to compile GENEVE if no other protocol depending on NET_UDP_TUNNEL is selected. Fix this changing the depends to a select, and drop NET_IP_TUNNEL from the select list, as it already depends on NET_UDP_TUNNEL. Signed-off-by: Matteo Croce Reviewed-and-tested-by: Andrea Claudi Tested-by: Davide Caratti --- drivers/net/Kconfig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/net/Kconfig b/drivers/net/Kconfig index edb1c023a753..21bf8ac78380 100644 --- a/drivers/net/Kconfig +++ b/drivers/net/Kconfig @@ -197,9 +197,9 @@ config VXLAN config GENEVE tristate "Generic Network Virtualization Encapsulation" - depends on INET && NET_UDP_TUNNEL + depends on INET depends on IPV6 || !IPV6 - select NET_IP_TUNNEL + select NET_UDP_TUNNEL select GRO_CELLS ---help--- This allows one to create geneve virtual interfaces that provide