Received: by 2002:a05:7412:b995:b0:f9:9502:5bb8 with SMTP id it21csp2694063rdb; Tue, 26 Dec 2023 01:45:06 -0800 (PST) X-Google-Smtp-Source: AGHT+IHnVcuCRLn3HVQ8t4GfjUga3jbso/vPhssuAwUuWmlHkSKSxmcSIROz/emqRKgVOm8SioW4 X-Received: by 2002:a05:6e02:20cd:b0:35d:4490:c886 with SMTP id 13-20020a056e0220cd00b0035d4490c886mr7964820ilq.12.1703583905930; Tue, 26 Dec 2023 01:45:05 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1703583905; cv=none; d=google.com; s=arc-20160816; b=DsLbc15sQH4k/LofJyyJLrxZdbrGBGOuB1frOlasXwDdeahudxGbJokvhSTYzLPFPI G4+iIla4B5Lyj57SM814kSlmDApbXX0p1ubv68X6G3rb60KqFJILIo3mNf078rgqgkk5 3paKAODUDXekWaMOTyLNEJprn/Sxriz4gnPRLug2SV/jnlpj5cQt5ZpJXu7LdjSvAyqz u3P7EV1LA9gQPNC8l10/AVHdYeaubLwPqfsSwqvqJYAPsekBL7DcbiKePFl47LS56kZj kut3KFm+9PXHtadw/ftPNWYdGX9Oq0fd1K98ZCViSs0r7bI36cmUiiPXXPjnPL3oAHCa MP7Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=EwZQLx2dP6eCcL8bAS0PoU4Q4fVzMb/S1zk9b9IjiLU=; fh=xJ4MGWUfLIY6kC5wtXQrQqroeNPseZURI9Z+Z0OAFDg=; b=A7LJLQeoGptEo5h7QjWdAtoF7XbGK85ueMwJnLvBx0ARCyj3yn5v3qBFj5VW7AM82N Z+EzbIxME6cNxKhDSK0aV18dEGcI8tRJ8DfCRpnQ+9gpgQIzz9F2VSKLYtPrJi3Mcd69 NVD6ZCBi5RWgmmPpKskl1fE3vRnpzkEfySJsc8f+k3OwahuC44nu+vT4zXhfy1rx3MPr iBZsOjMooGKQZSMNOSxYhPYEYdQaDN7RnJSgxAjLuwuob9irDpRANe4tijelus9nD3yi ZHCFGzkoyakLbGM3iMclVVtcTVS2Os/DNVwz0NqJzBvefWqv1Lytp34g1piLGpf7+YWo C76Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linux.dev header.s=key1 header.b=bn3Ta8PK; spf=pass (google.com: domain of linux-kernel+bounces-11453-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-11453-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linux.dev Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id e13-20020a656bcd000000b005c67bf38069si9547625pgw.320.2023.12.26.01.45.05 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 26 Dec 2023 01:45:05 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-11453-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@linux.dev header.s=key1 header.b=bn3Ta8PK; spf=pass (google.com: domain of linux-kernel+bounces-11453-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-11453-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linux.dev Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sy.mirrors.kernel.org (Postfix) with ESMTPS id AD8B0B21F76 for ; Tue, 26 Dec 2023 09:44:43 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 169C74E632; Tue, 26 Dec 2023 09:43:34 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linux.dev header.i=@linux.dev header.b="bn3Ta8PK" X-Original-To: linux-kernel@vger.kernel.org Received: from out-172.mta1.migadu.com (out-172.mta1.migadu.com [95.215.58.172]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id E083D4E621 for ; Tue, 26 Dec 2023 09:43:31 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.dev Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linux.dev X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.dev; s=key1; t=1703583810; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=EwZQLx2dP6eCcL8bAS0PoU4Q4fVzMb/S1zk9b9IjiLU=; b=bn3Ta8PKwrV7zwu4K1uWwNhYe1/cdQ+l1iqiPLL0NPYWnZHgcBuVZ62MnGVEaBxHZCQK7k ZL8t5ciSb5ucRuTbSX9N3QhMCMWC7nieem57zNf30/Yf3GXJxz6WIbyzXTa1wGdXt37jpP MqY7MT0ZvVHuYmcMfYSNgxOPk64T/Rc= From: George Guo To: horms@kernel.org, pablo@netfilter.org, kadlec@netfilter.org, fw@strlen.de, davem@davemloft.net, edumazet@google.com, kuba@kernel.org, pabeni@redhat.com Cc: netfilter-devel@vger.kernel.org, coreteam@netfilter.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, George Guo Subject: [PATCH 04/14] netfilter: cleanup struct nft_set_iter Date: Tue, 26 Dec 2023 17:42:45 +0800 Message-Id: <20231226094255.77911-4-dongtai.guo@linux.dev> In-Reply-To: <20231226094255.77911-1-dongtai.guo@linux.dev> References: <20231226094255.77911-1-dongtai.guo@linux.dev> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Migadu-Flow: FLOW_OUT From: George Guo Add comments for timeout in struct nft_set_iter, and flags is not a member of struct nft_set_iter, remove the comment for it. Signed-off-by: George Guo --- include/net/netfilter/nf_tables.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/net/netfilter/nf_tables.h b/include/net/netfilter/nf_tables.h index adabddc4b0b9..a8243cf32e29 100644 --- a/include/net/netfilter/nf_tables.h +++ b/include/net/netfilter/nf_tables.h @@ -327,10 +327,10 @@ struct nft_set_iter { * @dtype: data type * @dlen: data length * @objtype: object type - * @flags: flags * @size: number of set elements * @policy: set policy * @gc_int: garbage collector interval + * @timeout: element timeout * @field_len: length of each field in concatenation, bytes * @field_count: number of concatenated fields in element * @expr: set must support for expressions -- 2.39.2