netfilter: nf_tables: fix kdoc warnings after gc rework
Subsystems (2)
Florian Westphal
maintainerPATCH 1/1 netfilter: nf_tables: fix kdoc warnings after gc rework
Jakub Kicinski says:
We've got some new kdoc warnings here:
net/netfilter/nft_set_pipapo.c:1557: warning: Function parameter or member '_set' not described in 'pipapo_gc' net/netfilter/nft_set_pipapo.c:1557: warning: Excess function parameter 'set' description in 'pipapo_gc' include/net/netfilter/nf_tables.h:577: warning: Function parameter or member 'dead' not described in 'nft_set'
Fixes 5f68718b34a5 ("netfilter: nf_tables: GC transaction API to avoid race with control plane")
Fixes f6c383b8c31a ("netfilter: nf_tables: adapt set backend to use GC transaction API")
Reported-by Jakub Kicinski <[email protected]>
Signed-off-by Florian Westphal <[email protected]>
--- include/net/netfilter/nf_tables.h | 1 + net/netfilter/nft_set_pipapo.c | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-)
include/net/netfilter/nf_tables.h +1 -0
@@ -534,6 +534,7 @@ struct nft_set_elem_expr {* @expr: stateful expression * @ops: set ops * @flags: set flags +* @dead: set will be freed, never cleared * @genmask: generation mask * @klen: key length * @dlen: data length
net/netfilter/nft_set_pipapo.c +1 -1
@@ -1549,7 +1549,7 @@ static void nft_pipapo_gc_deactivate(struct net *net, struct nft_set *set,/** * pipapo_gc() - Drop expired entries from set, destroy start and end elements -* @set: nftables API set representation +* @_set: nftables API set representation * @m: Matching data */ static void pipapo_gc (const struct nft_set *_set,struct nft_pipapo_match *m)
Signature · 1 line
2.41.0