Received: by 2002:a05:7412:b995:b0:f9:9502:5bb8 with SMTP id it21csp2694992rdb; Tue, 26 Dec 2023 01:47:40 -0800 (PST) X-Google-Smtp-Source: AGHT+IGQHJ3aoMSraJyspNWVrbkPo6w3WF5Q6rdaCYkl7FCy6CE7/kOrO+nMnZyEr3s0/BlLnOSs X-Received: by 2002:a05:620a:13d1:b0:77f:391:dfb3 with SMTP id g17-20020a05620a13d100b0077f0391dfb3mr8902623qkl.118.1703584060274; Tue, 26 Dec 2023 01:47:40 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1703584060; cv=none; d=google.com; s=arc-20160816; b=wyl8/gqchXFQec8eraCK7x8ixzoM1Phjn4rgM7lgwHxhvrwi2cAHA7CEVc3a+zqigd eLEkF7BmvICk3RZWLR1pzh8LCA9oVQHi70KPP+JTlbpdBAjv5ggu4dmlj2lR09C21b+D MLZBV/lpYfl4KjyMZoosXUyCB0H7udobCvbTSBQRL2g/10mYz3P6dq8HbIhVUz9LQIRO xxlkOXVWHZDvdj3SllBAzvPND3E9rnQ8QtVwWOkOlA8vlLKK/p84eXREzsRR3WKgOGY9 htN+Qvdc2EZ35XTpD4+m0t44KThr5VA378Kopa9U1Be88mC5F543rjH0dMz8p3pW2B3U 6DPg== 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=AmRdlIlTFvsGqdkNb3BKpWuB8bJE73vQSHmgBrz+694=; fh=xJ4MGWUfLIY6kC5wtXQrQqroeNPseZURI9Z+Z0OAFDg=; b=drcdeMHC7WBxDQNfeD/aWApjEEur5aQWSLAYDhi3IF/PHrXWDu2RpNsD+DR3i5e7Uy RndWKZymgzktRjxeGjfxvf0JgefcPkwi0s4VsLR9GQSC6LzqROit6YwkkbnSLY+nDD6l z8S/FgrYuArT3Yaouyh9foe2eMF8ung870tAQewyOI2k6bTpvB6vRkyzIp2Ky1n6kg2J GXKOS+XZ1j35SWkqmiIgdL1x6B+XTQOCfd8rVVoUkTcR5bseedtfhbDEgwI3ytCQIJ/8 eJYWyFZi4pPLKLbh23E4HCcvdXTfJrFr0hp00h4GxjXLDzZpiCmMXVmz04QxGtZYShDC jlPg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linux.dev header.s=key1 header.b=uHPnSNt7; spf=pass (google.com: domain of linux-kernel+bounces-11461-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-11461-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linux.dev Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id qs21-20020a05620a395500b007814d396b1csi2958485qkn.407.2023.12.26.01.47.40 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 26 Dec 2023 01:47:40 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-11461-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@linux.dev header.s=key1 header.b=uHPnSNt7; spf=pass (google.com: domain of linux-kernel+bounces-11461-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-11461-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 ny.mirrors.kernel.org (Postfix) with ESMTPS id E65401C21676 for ; Tue, 26 Dec 2023 09:47:39 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 44FF253E1B; Tue, 26 Dec 2023 09:44:27 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linux.dev header.i=@linux.dev header.b="uHPnSNt7" X-Original-To: linux-kernel@vger.kernel.org Received: from out-180.mta1.migadu.com (out-180.mta1.migadu.com [95.215.58.180]) (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 4E47A539E2 for ; Tue, 26 Dec 2023 09:44:25 +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=1703583863; 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=AmRdlIlTFvsGqdkNb3BKpWuB8bJE73vQSHmgBrz+694=; b=uHPnSNt7jI7Wkji8vG7Fm5kd70eP4RgIvmULyn+cjC0V3T2nOZtkzpmB8gOLI1x8pnfv08 b9CvhHgnSM9rszSMhXohQjzM+q/JySMwzCLkKul0mN+SHJZAavuxQ2NgOJ6y0/laMoLFwx qhAK6NO+pz4QsYitaO9ltx7rkLoSV+s= 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 12/14] netfilter: cleanup struct nft_object Date: Tue, 26 Dec 2023 17:42:53 +0800 Message-Id: <20231226094255.77911-12-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 udlen, udata in struct nft_object. Signed-off-by: George Guo --- include/net/netfilter/nf_tables.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/include/net/netfilter/nf_tables.h b/include/net/netfilter/nf_tables.h index 526332bde1b4..dab1727f3487 100644 --- a/include/net/netfilter/nf_tables.h +++ b/include/net/netfilter/nf_tables.h @@ -1301,11 +1301,13 @@ struct nft_object_hash_key { * struct nft_object - nf_tables stateful object * * @list: table stateful object list node - * @key: keys that identify this object * @rhlhead: nft_objname_ht node + * @key: keys that identify this object * @genmask: generation mask * @use: number of references to this stateful object * @handle: unique object handle + * @udlen: length of user data + * @udata: user data * @ops: object operations * @data: object data, layout depends on type */ -- 2.39.2