Received: by 2002:a05:6a10:6006:0:0:0:0 with SMTP id w6csp1754504pxa; Sat, 29 Aug 2020 01:59:22 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyAzIonsl8vPmW4ylO1bIYvfsxH9hOoLrFoUqSCTRi0Btf6KV3YoaGwOXMYSbRIniPhOamj X-Received: by 2002:a17:906:3890:: with SMTP id q16mr2624036ejd.107.1598691562738; Sat, 29 Aug 2020 01:59:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1598691562; cv=none; d=google.com; s=arc-20160816; b=Cpgm0WE8bvtuETlBKOPnAbxpuk8/O9wG4TuvzZH1aWMR7YTRwZVfnPjbh6vz2Z8Tvq 0zk8ZcPh3jwTZua+1Mx06/PpCDhz62xp+LzDEFpWz8qacPYP6T0eN1z0OCOFeiQj4S/8 4IfSIoumxB1A9QRJ+Fta3lILY/9GwW2tVLTdzZm3YJcH0TdBfiKw0tyLdLc8X3rJbJWQ ShqEkJpVM2PVe9XPZSbF6Ftms5dsos8uMF7wOvr++VRyQRdLOpYwh7wVgrVFGp3PPMeM ZiQdLrzNS2e+xoWlHeqiRf4/GaJ6zVV7MwaLLwV+8C0uZEcG+9atu+EafGG1WkPwuMvX TPfw== 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=KEoBAYUbRsv4pGLnYMJRVQaV+xKOVBHNqURicOwA0KI=; b=QLRn90D0hWU2jWvNfO7H4GcS1eMALJ/2mswODNcm38nxXIkTnJBARRQjs7IywQ2fHh W7rMjcWb/ILeGDJGhRkNEqRAXryt8hJZMDAcVSQ/SzOajvAQvjmqmxgkGFlI1G5UT0Iw YvwYecsSuWV7c6Ha5JvZWyMYSOgrLfVVxZzBGT53v5mITsWcLjr9xRTRwbs3wvYjKeEE NovKoTeCfhlzjV0BmbVDkAmpk3S01E+A7Yj1uWaL5VoW+AvZnX8IcP2cbvifv/a+tm4x EjlioG9ykY0aaTmN2Kue6uOpQedlS3ykWioeBps352aCNbgoD//ryXERZqBRNZ5Zisdn fC4g== 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 o6si1439064ejb.289.2020.08.29.01.58.59; Sat, 29 Aug 2020 01:59:22 -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 S1727885AbgH2I61 (ORCPT + 99 others); Sat, 29 Aug 2020 04:58:27 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58192 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726280AbgH2I6Z (ORCPT ); Sat, 29 Aug 2020 04:58:25 -0400 X-Greylist: delayed 472 seconds by postgrey-1.37 at lindbergh.monkeyblade.net; Sat, 29 Aug 2020 01:58:24 PDT Received: from forward101p.mail.yandex.net (forward101p.mail.yandex.net [IPv6:2a02:6b8:0:1472:2741:0:8b7:101]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9D6EFC061236; Sat, 29 Aug 2020 01:58:24 -0700 (PDT) Received: from forward101q.mail.yandex.net (forward101q.mail.yandex.net [IPv6:2a02:6b8:c0e:4b:0:640:4012:bb98]) by forward101p.mail.yandex.net (Yandex) with ESMTP id A9F2C2643EB6; Sat, 29 Aug 2020 11:50:23 +0300 (MSK) Received: from mxback5q.mail.yandex.net (mxback5q.mail.yandex.net [IPv6:2a02:6b8:c0e:1ba:0:640:b716:ad89]) by forward101q.mail.yandex.net (Yandex) with ESMTP id A3CB6CF40002; Sat, 29 Aug 2020 11:50:23 +0300 (MSK) Received: from vla5-e763f15c6769.qloud-c.yandex.net (vla5-e763f15c6769.qloud-c.yandex.net [2a02:6b8:c18:340b:0:640:e763:f15c]) by mxback5q.mail.yandex.net (mxback/Yandex) with ESMTP id xwsiBp6pc0-oMv0uHXm; Sat, 29 Aug 2020 11:50:23 +0300 Received: by vla5-e763f15c6769.qloud-c.yandex.net (smtp/Yandex) with ESMTPSA id QISoGxxgDy-oIHmt0XR; Sat, 29 Aug 2020 11:50:21 +0300 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (Client certificate not present) From: Yaroslav Bolyukin To: ja@ssi.bg, Nicolas Dichtel Cc: iam@lach.pw, Wensong Zhang , Simon Horman , "David S. Miller" , Alexey Kuznetsov , Hideaki YOSHIFUJI , 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: Sat, 29 Aug 2020 13:50:05 +0500 Message-Id: <20200829085005.24931-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 as part of commit ecefa32ffda201975 ("ipvs: Fix faulty IPv6 extension header handling in IPVS"), because it had dependency on ipv6_find_hdr, which was located in iptables-specific code But it is no longer required after commit e6f890cfde0e74d5b ("ipv6:Move ipv6_find_hdr() out of Netfilter code.") Also remove ip6tables include from ip_vs Signed-off-by: Yaroslav Bolyukin --- 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