Message ID | 20231007102528.1544295-1-dongtai.guo@linux.dev (mailing list archive) |
---|---|
State | Awaiting Upstream |
Delegated to: | Netdev Maintainers |
Headers | show |
Series | netfilter: remove inaccurate code comments from struct nft_table | expand |
George Guo <dongtai.guo@linux.dev> wrote: > From: George Guo <guodongtai@kylinos.cn> > > afinfo is no longer a member of struct nft_table, so remove the comment > for it. Correct, but could you please send a v2 that fixes up all the comments and gets them back in sync with the structure? Eg. nlpid, family, udlen and udata exist in struct but are not mentioned in the comments.
diff --git a/include/net/netfilter/nf_tables.h b/include/net/netfilter/nf_tables.h index dd40c75011d2..acbb18c212e9 100644 --- a/include/net/netfilter/nf_tables.h +++ b/include/net/netfilter/nf_tables.h @@ -1200,7 +1200,6 @@ static inline void nft_use_inc_restore(u32 *use) * @use: number of chain references to this table * @flags: table flag (see enum nft_table_flags) * @genmask: generation mask - * @afinfo: address family info * @name: name of the table * @validate_state: internal, set when transaction adds jumps */