Received: by 2002:a05:6a10:6006:0:0:0:0 with SMTP id w6csp1894734pxa; Sat, 29 Aug 2020 07:03:37 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwYrvSZuAAKrl+aFr2TAm7wPwJNw5zUeQYdy1jrxIxvm0ucL9av00nqA7n0nQqsC26xuk7y X-Received: by 2002:a17:906:e2d5:: with SMTP id gr21mr3879974ejb.438.1598709817073; Sat, 29 Aug 2020 07:03:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1598709817; cv=none; d=google.com; s=arc-20160816; b=TkfEW9UIdfZOjPMg5gRKCubibaAE8P28A70SKWMAt6WvviYIgoQv6219ZQAnpJ7pcJ ZpoDrsTbeUvSZvhLQ7+E3XhE1fZbxGGezROV7e+T4xwnYQXZ+eIkqYjwXMFxSk+yQfI2 jthl6x3SBnloe2Jwy4Dtjn5pe5yeDVXnG4FG+mjNefCH7uCk+JiXaCoAuM20r64uK/49 VYIfUXb4Ct/mcaw5dgtYe/dc1bWknNbMRYsjE8Bj8Q/5Yne0oiXLkCIWKwPCsWCiBEES +J458XvffcM0RNI95GY9q/E8+OWbjGO3zEavmwaDVge+AdKiiwGpeODXEj6VI0p/cdaY q78w== 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=yYfgboC34XIZv7hFYb8yz+O0bIZZzS6Z5zNNED3bc4g=; b=HNBw6XvcTRAb4IqZziCd38obYi/XeGpizmy+/+W4MFjzzQzUzS+aHrg/Mf+wEvlHi7 /g/Es2HoXZ4hiNBcMWyAAOy/l/t8ssUomIs80Db+CnL/R/Gr/H2HJzWpnp+0PQa4UfwC 7EOiEGmvEmMkawAgteY2qJ0Lr37PE9hOz2kV5r2YXnDlZG9nMoSNI/7H+9e7qcEhMaYI Ps/HTGJe0WrdZmPHHcp1fkn9rjS68T6jdEQT0p2PfvHSNUr2916nNeT23G0tnZbsd8cK NC08vC3QDZNO2CjSq+fdPlVeb/hwnGyrjFy5YsbT2kdmUv/niBpAiErPbGIbT+uwQWt4 ByPA== 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 f1si1452149edm.270.2020.08.29.07.03.13; Sat, 29 Aug 2020 07:03:37 -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 S1728039AbgH2OBN (ORCPT + 99 others); Sat, 29 Aug 2020 10:01:13 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48128 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728169AbgH2OAd (ORCPT ); Sat, 29 Aug 2020 10:00:33 -0400 Received: from forward102j.mail.yandex.net (forward102j.mail.yandex.net [IPv6:2a02:6b8:0:801:2::102]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A3766C061236 for ; Sat, 29 Aug 2020 07:00:32 -0700 (PDT) Received: from forward103q.mail.yandex.net (forward103q.mail.yandex.net [IPv6:2a02:6b8:c0e:50:0:640:b21c:d009]) by forward102j.mail.yandex.net (Yandex) with ESMTP id 60EBDF2083F; Sat, 29 Aug 2020 17:00:14 +0300 (MSK) Received: from mxback5q.mail.yandex.net (mxback5q.mail.yandex.net [IPv6:2a02:6b8:c0e:1ba:0:640:b716:ad89]) by forward103q.mail.yandex.net (Yandex) with ESMTP id 5A3E761E0009; Sat, 29 Aug 2020 17:00:14 +0300 (MSK) Received: from vla3-b0c95643f530.qloud-c.yandex.net (vla3-b0c95643f530.qloud-c.yandex.net [2a02:6b8:c15:341d:0:640:b0c9:5643]) by mxback5q.mail.yandex.net (mxback/Yandex) with ESMTP id jpkCmE9VZ8-0Dv0NDrH; Sat, 29 Aug 2020 17:00:14 +0300 Received: by vla3-b0c95643f530.qloud-c.yandex.net (smtp/Yandex) with ESMTPSA id fTzMuIFaS8-09mq9T7d; Sat, 29 Aug 2020 17:00:12 +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 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: [PATCHv5 net-next] ipvs: remove dependency on ip6_tables Date: Sat, 29 Aug 2020 18:59:53 +0500 Message-Id: <20200829135953.20228-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 because ipv6_find_hdr was in iptables specific code but is no longer required Fixes: f8f626754ebe ("ipv6: Move ipv6_find_hdr() out of Netfilter code.") Fixes: 63dca2c0b0e7 ("ipvs: Fix faulty IPv6 extension header handling in IPVS"). Signed-off-by: Yaroslav Bolyukin --- Missed canonical patch format section, subsystem is now spevified 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