Received: by 2002:ac0:da4c:0:0:0:0:0 with SMTP id a12csp21171imi; Wed, 20 Jul 2022 16:05:51 -0700 (PDT) X-Google-Smtp-Source: AGRyM1vFxKddyjYRyGzK+t+HjTx2I3kzCH6LGd+xhtbYssF/DXBrLYWF73yWMsap9wwUAYoToPgt X-Received: by 2002:a9d:ec3:0:b0:61c:947b:e6b with SMTP id 61-20020a9d0ec3000000b0061c947b0e6bmr9538352otj.192.1658358351742; Wed, 20 Jul 2022 16:05:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1658358351; cv=none; d=google.com; s=arc-20160816; b=iSnYZ8YqFqFBpTSswMB1hFScB/9YhsoJSA3bEHcJWYxKm1YaeqVcg748m+9YjnI9WK YjHZMvD2HZ1WavvPMTDdbDmeLka/SsEfyoYFEB4VPkg9HTelxogMhUHHeQPJ7+vevmkv GGiDkBgGDPSq02bRKvwwVFEDN1BBEs8Iv+GvFGPHEHKwGosaLHLBeP1MG2IJiAU/5m0y yEMx4+3bfkxe2yO9g9j9/8RyxOZzPvfRWizNw7RPBBX+4ihTPIsGLs4AL6fLrbwrxuIc 59erH+wiAblDw0A81Qryv5GCISU1xDTPh+oqMmkDZRFufJtJ6gqQuIqI4uXPywuyFT/n J6gA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=epxvfoDLuXThP0f37ET4LLysvor2A70PqJIzOqI5MUo=; b=lgIVofpIPZA3TmS0Bw0YXWR7OjB3ssLa7dcwLuMHyrnRyeGt9ny0MCaxPz/f7yH7dj E1Pk5cf4t6NYyk9R0t6Dw2SMp+b7cUR+KE6h5qiRlBDYyBdBz51Caw8U3MerlfbUEXiY E+KDBsDoQMln/vY76/Z1TwGup88GplWmUpIdHSLIKeoVHdgP2yYr3mTN7CO6KQsq3Qzt ODAZC9iZGREnyYTDIF5kzdjs1+qrwz/9dU7q8vmNWpPmG2hjiZU/XAmBI1Ui3/EFo9nM n5TKHRl86I6W3gfvzy1s0Hzu8FQUWpuBAfTaFMlW14yi0AABbuai7I51/e/VHRRogs3T 5fCg== 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id g186-20020acab6c3000000b00331576b6d57si31705oif.219.2022.07.20.16.05.38; Wed, 20 Jul 2022 16:05:51 -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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231301AbiGTW6J (ORCPT + 99 others); Wed, 20 Jul 2022 18:58:09 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49646 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229504AbiGTW6H (ORCPT ); Wed, 20 Jul 2022 18:58:07 -0400 Received: from mail.netfilter.org (mail.netfilter.org [217.70.188.207]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id DD2FF58854; Wed, 20 Jul 2022 15:58:06 -0700 (PDT) Date: Thu, 21 Jul 2022 00:58:02 +0200 From: Pablo Neira Ayuso To: Christophe JAILLET Cc: Simon Horman , Julian Anastasov , Jozsef Kadlecsik , Florian Westphal , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , linux-kernel@vger.kernel.org, kernel-janitors@vger.kernel.org, netdev@vger.kernel.org, lvs-devel@vger.kernel.org, netfilter-devel@vger.kernel.org, coreteam@netfilter.org Subject: Re: [PATCH] netfilter: ipvs: Use the bitmap API to allocate bitmaps Message-ID: References: <420d8b70560e8711726ff639f0a55364e212ff26.1656962678.git.christophe.jaillet@wanadoo.fr> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <420d8b70560e8711726ff639f0a55364e212ff26.1656962678.git.christophe.jaillet@wanadoo.fr> X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_NONE, SPF_PASS 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 On Mon, Jul 04, 2022 at 09:24:46PM +0200, Christophe JAILLET wrote: > Use bitmap_zalloc()/bitmap_free() instead of hand-writing them. > > It is less verbose and it improves the semantic. Applied to nf-next, thanks