Skip to content

Commit b3dfee3

Browse files
YueHaibingummakynes
authored andcommitted
netfilter: nft_redir: Make nft_redir_dump static
Fix sparse warning: net/netfilter/nft_redir.c:85:5: warning: symbol 'nft_redir_dump' was not declared. Should it be static? Signed-off-by: YueHaibing <[email protected]> Signed-off-by: Pablo Neira Ayuso <[email protected]>
1 parent f7e840e commit b3dfee3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

net/netfilter/nft_redir.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ static int nft_redir_init(const struct nft_ctx *ctx,
8282
return nf_ct_netns_get(ctx->net, ctx->family);
8383
}
8484

85-
int nft_redir_dump(struct sk_buff *skb, const struct nft_expr *expr)
85+
static int nft_redir_dump(struct sk_buff *skb, const struct nft_expr *expr)
8686
{
8787
const struct nft_redir *priv = nft_expr_priv(expr);
8888

0 commit comments

Comments
 (0)