mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-25 21:54:06 +08:00
netfilter: conntrack: destroy kmemcache on module removal
I forgot to move the kmem_cache_destroy into the exit path.
Fixes: 0c5366b3a8
("netfilter: conntrack: use single slab cache)
Signed-off-by: Florian Westphal <fw@strlen.de>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
This commit is contained in:
parent
61e0979a49
commit
7757114972
@ -1544,6 +1544,8 @@ void nf_conntrack_cleanup_end(void)
|
|||||||
nf_conntrack_tstamp_fini();
|
nf_conntrack_tstamp_fini();
|
||||||
nf_conntrack_acct_fini();
|
nf_conntrack_acct_fini();
|
||||||
nf_conntrack_expect_fini();
|
nf_conntrack_expect_fini();
|
||||||
|
|
||||||
|
kmem_cache_destroy(nf_conntrack_cachep);
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
Loading…
Reference in New Issue
Block a user