diff options
author | Florian Westphal <fw@strlen.de> | 2018-07-17 07:17:54 +0200 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2018-07-20 15:31:43 +0200 |
commit | a12486ebe104190a6c10557134014290afa98370 (patch) | |
tree | 35ecdd3656a29e92e547f3178b06d2d0082ea306 /net | |
parent | b8088dda98b9064a2b3007fe54b03ede70a15602 (diff) | |
download | linux-a12486ebe104190a6c10557134014290afa98370.tar.gz linux-a12486ebe104190a6c10557134014290afa98370.tar.bz2 linux-a12486ebe104190a6c10557134014290afa98370.zip |
netfilter: nf_tables: free flow table struct too
Fixes: 3b49e2e94e6ebb ("netfilter: nf_tables: add flow table netlink frontend")
Signed-off-by: Florian Westphal <fw@strlen.de>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'net')
-rw-r--r-- | net/netfilter/nf_tables_api.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/net/netfilter/nf_tables_api.c b/net/netfilter/nf_tables_api.c index 54a4f75ff9da..200da08524ae 100644 --- a/net/netfilter/nf_tables_api.c +++ b/net/netfilter/nf_tables_api.c @@ -5784,6 +5784,7 @@ static void nf_tables_flowtable_destroy(struct nft_flowtable *flowtable) kfree(flowtable->name); flowtable->data.type->free(&flowtable->data); module_put(flowtable->data.type->owner); + kfree(flowtable); } static int nf_tables_fill_gen_info(struct sk_buff *skb, struct net *net, |