diff options
author | Pablo Neira Ayuso <pablo@netfilter.org> | 2020-03-11 15:30:13 +0100 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2020-03-15 15:27:48 +0100 |
commit | 795a6d6b42244d0aabec645c6ddd05c29cfd39d6 (patch) | |
tree | 201dff52b5f76a605e00265801cf3c7d52c43e9e /net/netfilter | |
parent | a7fc936804084145e2a6374e23744defdc948e09 (diff) | |
download | linux-795a6d6b42244d0aabec645c6ddd05c29cfd39d6.tar.bz2 |
netfilter: nf_tables: statify nft_expr_init()
Not exposed anymore to modules, statify this function.
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'net/netfilter')
-rw-r--r-- | net/netfilter/nf_tables_api.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/netfilter/nf_tables_api.c b/net/netfilter/nf_tables_api.c index 1605a728eb2c..bc7a33f0cd06 100644 --- a/net/netfilter/nf_tables_api.c +++ b/net/netfilter/nf_tables_api.c @@ -2523,8 +2523,8 @@ static void nf_tables_expr_destroy(const struct nft_ctx *ctx, module_put(type->owner); } -struct nft_expr *nft_expr_init(const struct nft_ctx *ctx, - const struct nlattr *nla) +static struct nft_expr *nft_expr_init(const struct nft_ctx *ctx, + const struct nlattr *nla) { struct nft_expr_info info; struct nft_expr *expr; |