Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp2940058pxk; Mon, 21 Sep 2020 00:33:33 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwvJ9ULWHzjevL/qOSyz5xuDVGQvhiMd1g6GvFEHai8XekQiXr4juISLsWyBh9eU/NMA9xt X-Received: by 2002:a17:906:d8bc:: with SMTP id qc28mr49635908ejb.490.1600673613495; Mon, 21 Sep 2020 00:33:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1600673613; cv=none; d=google.com; s=arc-20160816; b=JAi9kRSb3yE3sUMny1vt4iYnUXYmAF8ErKN63RDFi4BKbVtmnkHtNB0fm7DUZI9Xmh oB+pPshj7W4Zoo8yOuTwhU3KQ6gsAvL+iFLwuIeHEibBTtT1c9fp8wvDIYLU3xhWusUl HGB6n4YOqXv4jqOi8tvg9TMyzs3ezeU5DL3X0zKM9/lDsSRsXb4/RixjExr9xRKIPp8n R40/pPGvu8bYRlB1mxEliLwG4RmjZqVC4jSK5rEkiCaBCz3KdIUlrOus7K/+YCPYt18b cv3HjRvJSyOndUAvRHYWCpcXdSi7JENGLJAK2kQ+XHdc3193JrHkdjPJbkls6JoeNW34 YrJg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:organisation:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=kQ4/TUvc/uw25f+Y1iV6X/9pXHtXod2YihQJGpemPO4=; b=S/EA8HFFgm5gVw5AKeQVjPosMpLXWq6AYathv+VdRomN6YzAWaTkbam+1zth7PzeuG 9MocAktNGUb/bJmCQwd3XmOQY3X10zrWzdSQq0MzPPfWV+5BIH2v8DmPeSUqOtJKpgTN kU9UNKkPVKToESN+kdxY3QVXL8VgZumhhaR3XlxEhdyvpjz1EDnuCSJV+WSyTf6VZNfo eOIOzen9hfDLanV/ptVlGL1kNE/0gCpk6sLO9tvYxSWnng/yRG1ir4JuzMNzrIx4X+5Y MNZI/2+NvGRKZMpSUlt9rNW2qTd8vhnihJsWIpCfPLBLaoBRxqJih2ODFjq9RvbfLSVe /UeQ== 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 s14si7655207ejx.304.2020.09.21.00.33.10; Mon, 21 Sep 2020 00:33:33 -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 S1726471AbgIUHcL (ORCPT + 99 others); Mon, 21 Sep 2020 03:32:11 -0400 Received: from kirsty.vergenet.net ([202.4.237.240]:51692 "EHLO kirsty.vergenet.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726211AbgIUHcL (ORCPT ); Mon, 21 Sep 2020 03:32:11 -0400 X-Greylist: delayed 447 seconds by postgrey-1.27 at vger.kernel.org; Mon, 21 Sep 2020 03:32:10 EDT Received: from reginn.horms.nl (unknown [80.127.179.77]) by kirsty.vergenet.net (Postfix) with ESMTPA id C1DC425B7CE; Mon, 21 Sep 2020 17:24:42 +1000 (AEST) Received: by reginn.horms.nl (Postfix, from userid 7100) id 90EA89402DE; Mon, 21 Sep 2020 09:24:40 +0200 (CEST) Date: Mon, 21 Sep 2020 09:24:40 +0200 From: Simon Horman To: YueHaibing Cc: wensong@linux-vs.org, ja@ssi.bg, pablo@netfilter.org, kadlec@netfilter.org, fw@strlen.de, davem@davemloft.net, kuba@kernel.org, netdev@vger.kernel.org, lvs-devel@vger.kernel.org, netfilter-devel@vger.kernel.org, coreteam@netfilter.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH net-next] ipvs: Remove unused macros Message-ID: <20200921072436.GA8437@vergenet.net> References: <20200918131656.46260-1-yuehaibing@huawei.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200918131656.46260-1-yuehaibing@huawei.com> Organisation: Horms Solutions BV User-Agent: Mutt/1.10.1 (2018-07-13) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Sep 18, 2020 at 09:16:56PM +0800, YueHaibing wrote: > They are not used since commit e4ff67513096 ("ipvs: add > sync_maxlen parameter for the sync daemon") > > Signed-off-by: YueHaibing Thanks, this look good to me. Acked-by: Simon Horman Pablo, please consider this for nf-next. > --- > net/netfilter/ipvs/ip_vs_sync.c | 3 --- > 1 file changed, 3 deletions(-) > > diff --git a/net/netfilter/ipvs/ip_vs_sync.c b/net/netfilter/ipvs/ip_vs_sync.c > index 2b8abbfe018c..16b48064f715 100644 > --- a/net/netfilter/ipvs/ip_vs_sync.c > +++ b/net/netfilter/ipvs/ip_vs_sync.c > @@ -242,9 +242,6 @@ struct ip_vs_sync_thread_data { > | IPVS Sync Connection (1) | > */ > > -#define SYNC_MESG_HEADER_LEN 4 > -#define MAX_CONNS_PER_SYNCBUFF 255 /* nr_conns in ip_vs_sync_mesg is 8 bit */ > - > /* Version 0 header */ > struct ip_vs_sync_mesg_v0 { > __u8 nr_conns; > -- > 2.17.1 >