Received: by 2002:a05:6a10:6006:0:0:0:0 with SMTP id w6csp1778370pxa; Sat, 29 Aug 2020 03:00:12 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy4CBYTAD4JWxrUMwRsIn+dVCW5EpZKyBRrx7Yf6nlz2vFDxVBl8hvXlvtDFWmpWh3U9HEk X-Received: by 2002:a50:f40a:: with SMTP id r10mr2879707edm.137.1598695212700; Sat, 29 Aug 2020 03:00:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1598695212; cv=none; d=google.com; s=arc-20160816; b=lww29vf/NcT7gZx0widHlnTOw7RA3yrsltSytcGwjgoM3wpuSbc6YqOHky7B8OGbx8 ESeB7jrhCHHQlA1EyKFcIZ3wGAAixghDBruTbsmMxT3M0nK6e7Hr3s+s9TfqupgeZnMo Hq2Gultor8ASzGu5i9r1XteFs3MhlTdMsJEJV3GOpS5LeahviZRd9yqAKgfYfveeRWt9 Iy9+lzJrdu3wX+XZD9jxXlASVldH0v8+KxeZPcBEbFeUk9NzMzVMf/2730E5Kz2JrASy qSzS7GTWQWwYvToxAHaUgI1p+anVoUE6851CAPqgXSTIGjbNiC6TgJ8Pi1uBh+yvDZip JUGQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:references:message-id :in-reply-to:subject:cc:to:from:date; bh=V8D6kT9EPOrmClTW7201D0GS6So8HF/IlIaLh+UJlZQ=; b=ZKQjCBSDXj9MoOqNOqMprM4mnyxRJDYcgTL+vQwIXaQB1AxgGLuZ4vD0cC813DK0+i BL31F3tcwPF5QxsAifgwEa7mSzW/iv76i+8woaUvSGFuHTCdVLrqWLcn35FrFcLuPfFE 7LmUQV6uIR0Y6hcGBxuIW5Wuw71aTV3CL+kqVzonvmBFCigXZ4tAie+gc10A1qbpo1Pl Am/IcSIEgzuPN2RzixetgM7Kpb++AqjCTPv53M659dOgmZFjeQQuClVdIcGTO0iA3xyp OXdRusDSquo5+8QyyekOZfN32ZcWi3JlphB2PIUmW4HbkRluGGPPKLlWygkb6qqy08Vo NaIA== 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 dk11si1419461ejb.450.2020.08.29.02.59.49; Sat, 29 Aug 2020 03:00:12 -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 S1727889AbgH2J7L (ORCPT + 99 others); Sat, 29 Aug 2020 05:59:11 -0400 Received: from mg.ssi.bg ([178.16.128.9]:54552 "EHLO mg.ssi.bg" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726869AbgH2J7K (ORCPT ); Sat, 29 Aug 2020 05:59:10 -0400 Received: from mg.ssi.bg (localhost [127.0.0.1]) by mg.ssi.bg (Proxmox) with ESMTP id C43EB36ADB; Sat, 29 Aug 2020 12:59:06 +0300 (EEST) Received: from ink.ssi.bg (ink.ssi.bg [178.16.128.7]) by mg.ssi.bg (Proxmox) with ESMTP id 1EE2D36AD6; Sat, 29 Aug 2020 12:59:06 +0300 (EEST) Received: from ja.ssi.bg (unknown [178.16.129.10]) by ink.ssi.bg (Postfix) with ESMTPS id 128B73C09BA; Sat, 29 Aug 2020 12:58:57 +0300 (EEST) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by ja.ssi.bg (8.15.2/8.15.2) with ESMTP id 07T9wsnW007570; Sat, 29 Aug 2020 12:58:55 +0300 Date: Sat, 29 Aug 2020 12:58:54 +0300 (EEST) From: Julian Anastasov To: Yaroslav Bolyukin cc: Nicolas Dichtel , 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: Re: [PATCH] Remove ipvs v6 dependency on iptables In-Reply-To: <20200829085005.24931-1-iam@lach.pw> Message-ID: References: <20200829085005.24931-1-iam@lach.pw> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello, On Sat, 29 Aug 2020, Yaroslav Bolyukin wrote: > 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 The commit you reference better to be added as special tag, eg: Fixes: f8f626754ebe ("ipv6: Move ipv6_find_hdr() out of Netfilter code.") before the Signed-off-by line. Then you may skip mentioning the commit in the description, it will be in Fixes tag. Note that the first 12 chars from the commit id are used, not the last. Second Fixes line can be for 63dca2c0b0e7 ("ipvs: Fix faulty IPv6 extension header handling in IPVS"). Both Fixes lines should not be wrapped. The Subject line needs to include version and tree, for example: [PATCHv2 net-next] ipvs: remove v6 dependency on iptables You increase the version when sending modified patch. You can check the Documentation/process/submitting-patches.rst guide for more info. > --- > 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. > -- Regards -- Julian Anastasov