Received: by 2002:a05:6358:53a8:b0:117:f937:c515 with SMTP id z40csp4271901rwe; Mon, 17 Apr 2023 10:09:55 -0700 (PDT) X-Google-Smtp-Source: AKy350aiUYSdtyqtPkdA1TToOiAKeRpsz5JMKohO3Kmj4ez8eF+vnL9y2dkDQ66+/CYX14Xdm7Xt X-Received: by 2002:a17:90a:748f:b0:247:4c28:311f with SMTP id p15-20020a17090a748f00b002474c28311fmr10897038pjk.34.1681751394946; Mon, 17 Apr 2023 10:09:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1681751394; cv=none; d=google.com; s=arc-20160816; b=c9cawbBrO2Oc4GTrto9X/cArXV4Uudlx+RMsEgMLMt7ACZNdT67TMRv2+iZzTeSkZD I7/aQd8uNomzyHRURHhHstorGzFGNg3C4SJC+t5wcjC04aZjAR2PGB9abNXh4HyKy4nI XoCDzMc5V6lArBwsTG/blJubAjAtMLTjLoeja2FN7pJNYX6ZgvDihU+7KDKt3P8VUp00 zlIjGEMqyF7oLOTz8qW4Y7ROY37PxQymynbBJeSst/lw6tBBj93e4Ts3Xc+rcIjudQsA Vksa3YSumcmtDfBVRJaugH/3ToP4kVab9S4W8GOSSdJl40lq0XUc61UNaZxyF0xS9h56 b/sA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:references:message-id:in-reply-to :subject:cc:to:from:date; bh=OTsCRBDSetMt47kiUo3jlAqkqYKsGvc1Dx/gxfKTm8g=; b=vCI5brh3MU7whFkbdq0jiZuzbzuC6yKXm2tCmQZyvZugcoZJ/cgQa71TImKKHUrGz7 OjrtxLMGOVq+AdiAqCOoa00QQ7jkFZoFEPxx0OL+3FDnE663wf2OzcSFnrMiXq58iZwo OIlzfimtdvXfXnvD8QQthVDwRfdN4+VFGcHZjdjwZXZ8CP4Opb7SgsCjFyM01ijnrYuc snhxY/Qss39iz3f//8ATokQfzOz4Bn0UXKX0xfFKCHPjun8I21mVNOJD9r/rvwAnZLPV BMUGLwTJaMAo74nZraObnp71nf3H4e1ScHWd+VZzh9AKvMspx68OgodZaT124d1r4b7D dQjA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=ssi.bg Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id l62-20020a639141000000b0051b54441fc9si12344431pge.253.2023.04.17.10.09.43; Mon, 17 Apr 2023 10:09:54 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=ssi.bg Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229909AbjDQQ7r (ORCPT + 99 others); Mon, 17 Apr 2023 12:59:47 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36186 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229485AbjDQQ7q (ORCPT ); Mon, 17 Apr 2023 12:59:46 -0400 Received: from mg.ssi.bg (mg.ssi.bg [193.238.174.37]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2D2AEB4; Mon, 17 Apr 2023 09:59:45 -0700 (PDT) Received: from mg.ssi.bg (localhost [127.0.0.1]) by mg.bb.i.ssi.bg (Proxmox) with ESMTP id CEC681B28D; Mon, 17 Apr 2023 19:59:41 +0300 (EEST) Received: from ink.ssi.bg (ink.ssi.bg [193.238.174.40]) by mg.bb.i.ssi.bg (Proxmox) with ESMTPS id B557B1B257; Mon, 17 Apr 2023 19:59:41 +0300 (EEST) Received: from ja.ssi.bg (unknown [178.16.129.10]) by ink.ssi.bg (Postfix) with ESMTPS id A51913C043A; Mon, 17 Apr 2023 19:59:36 +0300 (EEST) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by ja.ssi.bg (8.17.1/8.16.1) with ESMTP id 33HGxZgk120021; Mon, 17 Apr 2023 19:59:35 +0300 Date: Mon, 17 Apr 2023 19:59:35 +0300 (EEST) From: Julian Anastasov To: Simon Horman cc: Pablo Neira Ayuso , Jozsef Kadlecsik , Florian Westphal , netdev@vger.kernel.org, "David S. Miller" , David Ahern , Eric Dumazet , Jakub Kicinski , Paolo Abeni , lvs-devel@vger.kernel.org, linux-kernel@vger.kernel.org, netfilter-devel@vger.kernel.org, coreteam@netfilter.org, Horatiu Vultur Subject: Re: [PATCH nf-next v3 0/4] ipvs: Cleanups for v6.4 In-Reply-To: <20230409-ipvs-cleanup-v3-0-5149ea34b0b9@kernel.org> Message-ID: References: <20230409-ipvs-cleanup-v3-0-5149ea34b0b9@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello, On Mon, 17 Apr 2023, Simon Horman wrote: > Hi Julian, > > this series aims to clean up IPVS in several ways without > implementing any functional changes, aside from removing > some debugging output. > > Patch 1/4: Update width of source for ip_vs_sync_conn_options > The operation is safe, use an annotation to describe it properly. > > Patch 2/4: Consistently use array_size() in ip_vs_conn_init() > It seems better to use helpers consistently. > > Patch 3/4: Remove {Enter,Leave}Function > These seem to be well past their use-by date. > > Patch 4/4: Correct spelling in comments > I can't spell. But codespell helps me these days. > > All changes: compile tested only! > > --- > Changes in v3: > - Patch 2/4: Correct division by 1024. > It was applied to the wrong variable in v2. > - Add Horatiu's Reviewed-by tag. > > Changes in v2: > - Patch 1/4: Correct spelling of 'conn' in subject. > - Patch 2/4: Restore division by 1024. It was lost on v1. > > --- > Simon Horman (4): > ipvs: Update width of source for ip_vs_sync_conn_options > ipvs: Consistently use array_size() in ip_vs_conn_init() > ipvs: Remove {Enter,Leave}Function > ipvs: Correct spelling in comments The patchset looks good to me, thanks! Acked-by: Julian Anastasov > include/net/ip_vs.h | 32 +++++---------------- > net/netfilter/ipvs/ip_vs_conn.c | 12 ++++---- > net/netfilter/ipvs/ip_vs_core.c | 8 ------ > net/netfilter/ipvs/ip_vs_ctl.c | 26 +---------------- > net/netfilter/ipvs/ip_vs_sync.c | 7 +---- > net/netfilter/ipvs/ip_vs_xmit.c | 62 ++++++----------------------------------- > 6 files changed, 23 insertions(+), 124 deletions(-) > > base-commit: 99676a5766412f3936c55b9d18565d248e5463ee Regards -- Julian Anastasov