Received: by 2002:a05:7412:b995:b0:f9:9502:5bb8 with SMTP id it21csp2695090rdb; Tue, 26 Dec 2023 01:48:00 -0800 (PST) X-Google-Smtp-Source: AGHT+IHtChZx7jJrd9hSosuA+G/HXboVkxJPMP6j4veedMPOGmnhttDAdeN5IYETlJXwpcoqdPik X-Received: by 2002:a05:6870:b156:b0:203:e64a:eb73 with SMTP id a22-20020a056870b15600b00203e64aeb73mr4916721oal.69.1703584080114; Tue, 26 Dec 2023 01:48:00 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1703584080; cv=none; d=google.com; s=arc-20160816; b=tSh3HA/NzA/5oVhrO5jxJVq8fcIoRXZcYLvHEKLwbQzeF8efPQHINfE1MVAB6JBRz9 XC+GSF9Ppe1YhmcdD5k9It3iejkVEM0yMbWIwZ3w+k4RSE5ZXz+j6pJdNbdlfKNUZDbt H5u8zFk1EAtGd84LDIOLJguRzwPcQK26bwmYi7fLR5vI/p4iH1J6kWb/iVwnJqfUZbWq 20pRwAtNE4VimjxOa7+YzCOQshs3PIuGE97WK4BqgWyT4qAJymRYw55J592IVsMmXnAO DSCJQiwU4z/eATLq72Ii0qSx76pAN7vvVCegDDDoKYYySOy5auEyfzwulj64ZcL57lAT oqdg== 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=hp/0/EtTdpMsUAddj6nOU9DQyFHJ3X7EwlFVc6kkPQM=; fh=xJ4MGWUfLIY6kC5wtXQrQqroeNPseZURI9Z+Z0OAFDg=; b=ke2ji+rgu6fdcowqKv6BEa9YluOnccEGTxyYtPcpPwUxMPK156KbSqpq0+NpyVnlUb +JLYIdEhLDPmDkPeZdu1zhX6cUvSRiZrL2797KHCa1FAIVq3jTeJGZtpJXfIlZs9RGxZ a5pHHRawTVumNBnkTqKjkFAtEzQzO6KOswa6flfxVmm4JdRK/e5NRSEsl5OMnh4AH9Kn /fvhRs3xxPdfbL7X3wQdCBr/JDCT5eBRR5Khcsz//CLX2NyUIQk1FAE+cBudmSkHv1w9 GXc+Wyu4z++EUwCXIUl2+T1HI2EN43TS0JvPEp4NcUY2o/jCGjqWD6b+pOc4bv8O4QoW 2eow== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linux.dev header.s=key1 header.b=C0sepe7v; spf=pass (google.com: domain of linux-kernel+bounces-11462-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-11462-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linux.dev Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id k139-20020a628491000000b006ce7343f066si6460147pfd.372.2023.12.26.01.47.59 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 26 Dec 2023 01:48:00 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-11462-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@linux.dev header.s=key1 header.b=C0sepe7v; spf=pass (google.com: domain of linux-kernel+bounces-11462-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-11462-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 sv.mirrors.kernel.org (Postfix) with ESMTPS id C255C283121 for ; Tue, 26 Dec 2023 09:47:59 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 8EE604CB5F; Tue, 26 Dec 2023 09:44:31 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linux.dev header.i=@linux.dev header.b="C0sepe7v" X-Original-To: linux-kernel@vger.kernel.org Received: from out-186.mta1.migadu.com (out-186.mta1.migadu.com [95.215.58.186]) (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 84EC653E3E for ; Tue, 26 Dec 2023 09:44:29 +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=1703583867; 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=hp/0/EtTdpMsUAddj6nOU9DQyFHJ3X7EwlFVc6kkPQM=; b=C0sepe7vQ9c5pa4c+/WXMOeWpUbZkmkRIj+cyjmF00LtSuB7V9z7cSw2LMSb+Em/YHM9CT IFz5sFodVtvDBEur4UMSEJUbpsarcaS0JPz2ZX9gdLjZR/X1IrDxX3Gcn6JM2RCE25g87g eSvxnxwHjZRmJr3+wbyF5zesOdpHijw= 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 13/14] netfilter: cleanup struct nft_object_ops Date: Tue, 26 Dec 2023 17:42:54 +0800 Message-Id: <20231226094255.77911-13-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 comment for type in struct nft_object_ops. Signed-off-by: George Guo --- include/net/netfilter/nf_tables.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/net/netfilter/nf_tables.h b/include/net/netfilter/nf_tables.h index dab1727f3487..505128d10073 100644 --- a/include/net/netfilter/nf_tables.h +++ b/include/net/netfilter/nf_tables.h @@ -1373,6 +1373,7 @@ struct nft_object_type { * @destroy: release existing stateful object * @dump: netlink dump stateful object * @update: update stateful object + * @type: pointer to object type */ struct nft_object_ops { void (*eval)(struct nft_object *obj, -- 2.39.2