From mboxrd@z Thu Jan 1 00:00:00 1970 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 8B9E4C6FD1D for ; Tue, 21 Mar 2023 09:09:42 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229892AbjCUJJk (ORCPT ); Tue, 21 Mar 2023 05:09:40 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37092 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229715AbjCUJJi (ORCPT ); Tue, 21 Mar 2023 05:09:38 -0400 Received: from orbyte.nwl.cc (orbyte.nwl.cc [IPv6:2001:41d0:e:133a::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 50E9514EAE for ; Tue, 21 Mar 2023 02:09:01 -0700 (PDT) Received: from n0-1 by orbyte.nwl.cc with local (Exim 4.94.2) (envelope-from ) id 1peXzG-0001Rj-P9; Tue, 21 Mar 2023 10:08:58 +0100 Date: Tue, 21 Mar 2023 10:08:58 +0100 From: Phil Sutter To: Pablo Neira Ayuso Cc: netfilter-devel@vger.kernel.org Subject: Re: [nft PATCH 1/2] Reduce signature of do_list_table() Message-ID: Mail-Followup-To: Phil Sutter , Pablo Neira Ayuso , netfilter-devel@vger.kernel.org References: <20230320134659.13731-1-phil@nwl.cc> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230320134659.13731-1-phil@nwl.cc> Precedence: bulk List-ID: X-Mailing-List: netfilter-devel@vger.kernel.org On Mon, Mar 20, 2023 at 02:46:58PM +0100, Phil Sutter wrote: > Since commit 16fac7d11bdf5 ("src: use cache infrastructure for rule > objects"), the function does not use the passed 'cmd' object anymore. > Remove it to affirm correctness of a follow-up fix and simplification in > do_list_ruleset(). > > Signed-off-by: Phil Sutter Series applied.