[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20231226094255.77911-7-dongtai.guo@linux.dev>
Date: Tue, 26 Dec 2023 17:42:48 +0800
From: George Guo <dongtai.guo@...ux.dev>
To: horms@...nel.org,
pablo@...filter.org,
kadlec@...filter.org,
fw@...len.de,
davem@...emloft.net,
edumazet@...gle.com,
kuba@...nel.org,
pabeni@...hat.com
Cc: netfilter-devel@...r.kernel.org,
coreteam@...filter.org,
netdev@...r.kernel.org,
linux-kernel@...r.kernel.org,
George Guo <guodongtai@...inos.cn>
Subject: [PATCH 07/14] netfilter: cleanup struct nft_set_ext_tmpl
From: George Guo <guodongtai@...inos.cn>
Add comment for ext_len in struct nft_set_ext_tmpl.
Signed-off-by: George Guo <guodongtai@...inos.cn>
---
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 91a1cb6fadf1..55f1b3c7dc1f 100644
--- a/include/net/netfilter/nf_tables.h
+++ b/include/net/netfilter/nf_tables.h
@@ -701,6 +701,7 @@ extern const struct nft_set_ext_type nft_set_ext_types[];
*
* @len: length of extension area
* @offset: offsets of individual extension types
+ * @ext_len: length of the expected extension(used to sanity check)
*/
struct nft_set_ext_tmpl {
u16 len;
--
2.39.2
Powered by blists - more mailing lists