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 8B38DC4332F for ; Mon, 19 Dec 2022 19:29:22 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232710AbiLST3U (ORCPT ); Mon, 19 Dec 2022 14:29:20 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50456 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232599AbiLST2u (ORCPT ); Mon, 19 Dec 2022 14:28:50 -0500 Received: from mail.netfilter.org (mail.netfilter.org [217.70.188.207]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 9A2AF1581E for ; Mon, 19 Dec 2022 11:28:49 -0800 (PST) From: Pablo Neira Ayuso To: netfilter-devel@vger.kernel.org Cc: fw@strlen.de Subject: [PATCH nf,v2 0/4] nf_tables: set updates type check Date: Mon, 19 Dec 2022 20:28:40 +0100 Message-Id: <20221219192844.212253-1-pablo@netfilter.org> X-Mailer: git-send-email 2.30.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: netfilter-devel@vger.kernel.org Hi, Patch #1 and #2 are preparation work to consolidate set description fields and to add a function that can be reused from the set update path in the control plane. Patch #3 add the set update type check compatibility, Patch #4 allow to update set timeout and garbage collection interval which are the only fields that are not immutable in sets at this stage. Pablo Neira Ayuso (4): netfilter: nf_tables: consolidate set description netfilter: nf_tables: add function to create set stateful expressions netfilter: nf_tables: perform type checking for existing sets netfilter: nf_tables: honor set timeout and garbage collection updates include/net/netfilter/nf_tables.h | 25 +++- net/netfilter/nf_tables_api.c | 239 +++++++++++++++++++----------- 2 files changed, 179 insertions(+), 85 deletions(-) -- 2.30.2