Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 3112FE732E3 for ; Fri, 29 Sep 2023 10:16:02 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229687AbjI2KQB (ORCPT ); Fri, 29 Sep 2023 06:16:01 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42280 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232925AbjI2KP7 (ORCPT ); Fri, 29 Sep 2023 06:15:59 -0400 Received: from orbyte.nwl.cc (orbyte.nwl.cc [IPv6:2001:41d0:e:133a::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6AD8FC0 for ; Fri, 29 Sep 2023 03:15:58 -0700 (PDT) Received: from n0-1 by orbyte.nwl.cc with local (Exim 4.94.2) (envelope-from ) id 1qmAXM-0007K4-FB; Fri, 29 Sep 2023 12:15:56 +0200 Date: Fri, 29 Sep 2023 12:15:56 +0200 From: Phil Sutter To: Pablo Neira Ayuso Cc: Florian Westphal , netfilter-devel@vger.kernel.org Subject: Re: [nf PATCH v2 1/8] netfilter: nf_tables: Don't allocate nft_rule_dump_ctx Message-ID: Mail-Followup-To: Phil Sutter , Pablo Neira Ayuso , Florian Westphal , netfilter-devel@vger.kernel.org References: <20230928165244.7168-1-phil@nwl.cc> <20230928165244.7168-2-phil@nwl.cc> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: netfilter-devel@vger.kernel.org On Thu, Sep 28, 2023 at 08:49:33PM +0200, Pablo Neira Ayuso wrote: > On Thu, Sep 28, 2023 at 06:52:37PM +0200, Phil Sutter wrote: > [...] > > This whole chunk below looks like a cleanup to remove one indentation > level? Please add an initial patch for this. Actually, it changes nft_rule_dump_ctx from being allocated to being cast over the general purpose part in netlink_callback. But I like your suggestion, it will reduce this patch to the relevant bits. Thanks, Phil