Message ID | 20220921073825.4658-4-fw@strlen.de (mailing list archive) |
---|---|
State | Accepted |
Commit | 9a4d6dd554b86e65581ef6b6638a39ae079b17ac |
Delegated to: | Netdev Maintainers |
Headers | show |
Series | [net,1/5] netfilter: conntrack: remove nf_conntrack_helper documentation | expand |
diff --git a/net/netfilter/nf_tables_api.c b/net/netfilter/nf_tables_api.c index e062754dc6cc..63c70141b3e5 100644 --- a/net/netfilter/nf_tables_api.c +++ b/net/netfilter/nf_tables_api.c @@ -2243,6 +2243,7 @@ static int nf_tables_addchain(struct nft_ctx *ctx, u8 family, u8 genmask, if (err < 0) { nft_chain_release_hook(&hook); kfree(basechain); + free_percpu(stats); return err; } if (stats)