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 447E6C32793 for ; Wed, 18 Jan 2023 12:34:01 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230383AbjARMd7 (ORCPT ); Wed, 18 Jan 2023 07:33:59 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36218 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230136AbjARMdG (ORCPT ); Wed, 18 Jan 2023 07:33:06 -0500 Received: from mail.netfilter.org (mail.netfilter.org [217.70.188.207]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id B15C63A86B for ; Wed, 18 Jan 2023 03:52:24 -0800 (PST) Date: Wed, 18 Jan 2023 12:52:21 +0100 From: Pablo Neira Ayuso To: Phil Sutter Cc: netfilter-devel@vger.kernel.org Subject: Re: [nft PATCH v4] Implement 'reset rule' and 'reset rules' commands Message-ID: References: <20230117173310.18757-1-phil@nwl.cc> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20230117173310.18757-1-phil@nwl.cc> Precedence: bulk List-ID: X-Mailing-List: netfilter-devel@vger.kernel.org On Tue, Jan 17, 2023 at 06:33:10PM +0100, Phil Sutter wrote: > Reset rule counters and quotas in kernel, i.e. without having to reload > them. Requires respective kernel patch to support NFT_MSG_GETRULE_RESET > message type. LGTM. As said, there will be time to explore better integration with the cache to address the EINTR issue and this kernel code can start being exercise with some userspace. Thanks.