diff options
author | Florian Westphal <fw@strlen.de> | 2019-01-15 22:03:39 +0100 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2019-01-18 15:02:34 +0100 |
commit | b184356d0a003ac5e82b4adf37f2d334df1d213c (patch) | |
tree | 1618f83b9516fbe51f8dd1980356568d31ee389d /net/netfilter/nft_ct.c | |
parent | 197c4300aec09b7cd2df124cea92f9f5a82efe42 (diff) | |
download | linux-b184356d0a003ac5e82b4adf37f2d334df1d213c.tar.gz linux-b184356d0a003ac5e82b4adf37f2d334df1d213c.tar.bz2 linux-b184356d0a003ac5e82b4adf37f2d334df1d213c.zip |
netfilter: conntrack: remove module owner field
No need to get/put module owner reference, none of these can be removed
anymore.
Signed-off-by: Florian Westphal <fw@strlen.de>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'net/netfilter/nft_ct.c')
-rw-r--r-- | net/netfilter/nft_ct.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/net/netfilter/nft_ct.c b/net/netfilter/nft_ct.c index 586627c361df..3249cc059048 100644 --- a/net/netfilter/nft_ct.c +++ b/net/netfilter/nft_ct.c @@ -902,7 +902,6 @@ static int nft_ct_timeout_obj_init(const struct nft_ctx *ctx, err_free_timeout: kfree(timeout); err_proto_put: - nf_ct_l4proto_put(l4proto); return ret; } @@ -913,7 +912,6 @@ static void nft_ct_timeout_obj_destroy(const struct nft_ctx *ctx, struct nf_ct_timeout *timeout = priv->timeout; nf_ct_untimeout(ctx->net, timeout); - nf_ct_l4proto_put(timeout->l4proto); nf_ct_netns_put(ctx->net, ctx->family); kfree(priv->timeout); } |