Received: by 2002:a05:6a10:6006:0:0:0:0 with SMTP id w6csp760273pxa; Thu, 27 Aug 2020 15:17:23 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx2PqQHG5T+Ovg7lkzq1iZCVAcWXUmuVor1DFLaQLbNTh6Nltl2Y1LGMy++3kjDKgIbWyrS X-Received: by 2002:a17:906:840c:: with SMTP id n12mr22082159ejx.246.1598566643042; Thu, 27 Aug 2020 15:17:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1598566643; cv=none; d=google.com; s=arc-20160816; b=Y0nrv0iClvnH9Pbu5iN3E++LwCb2l6kL8Dz8bzVO44vPvCdgWoL8MDOSRV/QC/EAhq eanTWmaRQfa5CzPBrfzzUyjBkjDw3UWCYnW3w7+/Zqj86Dx950pUtnFd0wQuKE1dfmCZ hOIdNiVbW92ENM/LWroeWBt19ktdrq2WpdeQmssx2r5pWwo3B5MuxroHOhG/sto3qSPK zynGcUHMAwksq0UxvWmryPO0mPQ2pA/jSk+t5WqNzOpMWxkno1lB7z/56PWpHw30wAsO mdFQIwrxa2Pl7EyWqcfOY/soSZ1YCYM//Na6rq3lM9XA0VPUKePDKu9LusnLK8gYszE5 5JYg== 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:message-id:date:subject:cc:to:from; bh=LlghTztY69DErYb3LcdQqhB506CQUHFaY17tVRJPf5c=; b=MFVMz2F8CgsT3SyzJcxHcNhIjGjnKG3zPIiR0Ucj96RQUCf6iT221fwyJxhrNz7Rfx Z/jq5AkQCQp4j4Ey4CZBG0vz8oD809yXiwiGg6qcsWmCBar7/AknkP1y8cMB1KWwp54B E450PfbkkZxBdiFxPJKoRqID3PIJveM+gWl1BVAEABnR1CKGi98U2brxfL7NxGKxU6nr NuqLBxQirjbPj+rkXmFE9cCcVBLJmBthUD8zbYqfzg8xKHu0jrdyC8pfRKNVAzWme8Eu hZdzSKr3L3IHNziMS0IzpyY48OqKfN7iJE0gHMIdeDUK5zPW34QB/aOXFnXb3o4W4mPT N3cA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id n2si2272316ejd.578.2020.08.27.15.17.00; Thu, 27 Aug 2020 15:17:23 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727863AbgH0WQL (ORCPT + 99 others); Thu, 27 Aug 2020 18:16:11 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46332 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726234AbgH0WQL (ORCPT ); Thu, 27 Aug 2020 18:16:11 -0400 X-Greylist: delayed 498 seconds by postgrey-1.37 at lindbergh.monkeyblade.net; Thu, 27 Aug 2020 15:16:11 PDT Received: from forward103o.mail.yandex.net (forward103o.mail.yandex.net [IPv6:2a02:6b8:0:1a2d::606]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2CFD7C061264; Thu, 27 Aug 2020 15:16:11 -0700 (PDT) Received: from mxback19g.mail.yandex.net (mxback19g.mail.yandex.net [IPv6:2a02:6b8:0:1472:2741:0:8b7:319]) by forward103o.mail.yandex.net (Yandex) with ESMTP id 9AC325F80893; Fri, 28 Aug 2020 01:07:46 +0300 (MSK) Received: from sas1-26681efc71ef.qloud-c.yandex.net (sas1-26681efc71ef.qloud-c.yandex.net [2a02:6b8:c08:37a4:0:640:2668:1efc]) by mxback19g.mail.yandex.net (mxback/Yandex) with ESMTP id P9J391dcLH-7jtmO9Xh; Fri, 28 Aug 2020 01:07:46 +0300 Received: by sas1-26681efc71ef.qloud-c.yandex.net (smtp/Yandex) with ESMTPSA id A1zBdMv5Ry-7il8Afes; Fri, 28 Aug 2020 01:07:44 +0300 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (Client certificate not present) From: Lach To: ja@ssi.bg Cc: iam@lach.pw, "David S. Miller" , Alexey Kuznetsov , Hideaki YOSHIFUJI , Wensong Zhang , Simon Horman , Jakub Kicinski , Pablo Neira Ayuso , Jozsef Kadlecsik , Florian Westphal , netdev@vger.kernel.org, lvs-devel@vger.kernel.org, linux-kernel@vger.kernel.org, netfilter-devel@vger.kernel.org, coreteam@netfilter.org Subject: [PATCH] Remove ipvs v6 dependency on iptables Date: Fri, 28 Aug 2020 03:07:15 +0500 Message-Id: <20200827220715.6508-1-iam@lach.pw> X-Mailer: git-send-email 2.28.0 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This dependency was added in 63dca2c0b0e7a92cb39d1b1ecefa32ffda201975, because this commit had dependency on ipv6_find_hdr, which was located in iptables-specific code But it is no longer required, because f8f626754ebeca613cf1af2e6f890cfde0e74d5b moved them to a more common location --- include/net/ip_vs.h | 3 --- net/netfilter/ipvs/Kconfig | 1 - 2 files changed, 4 deletions(-) diff --git a/include/net/ip_vs.h b/include/net/ip_vs.h index 9a59a3378..d609e957a 100644 --- a/include/net/ip_vs.h +++ b/include/net/ip_vs.h @@ -25,9 +25,6 @@ #include #include /* for struct ipv6hdr */ #include -#if IS_ENABLED(CONFIG_IP_VS_IPV6) -#include -#endif #if IS_ENABLED(CONFIG_NF_CONNTRACK) #include #endif diff --git a/net/netfilter/ipvs/Kconfig b/net/netfilter/ipvs/Kconfig index 2c1593089..eb0e329f9 100644 --- a/net/netfilter/ipvs/Kconfig +++ b/net/netfilter/ipvs/Kconfig @@ -29,7 +29,6 @@ if IP_VS config IP_VS_IPV6 bool "IPv6 support for IPVS" depends on IPV6 = y || IP_VS = IPV6 - select IP6_NF_IPTABLES select NF_DEFRAG_IPV6 help Add IPv6 support to IPVS. -- 2.28.0