netfilter: conntrack: destroy kmemcache on module removal
Subsystems (2)
Florian Westphal
maintainerPATCH 1/1 netfilter: conntrack: destroy kmemcache on module removal
I forgot to move the kmem_cache_destroy into the exit path.
Fixes 0c5366b3a8c7 ("netfilter: conntrack: use single slab cache)
Signed-off-by Florian Westphal <[email protected]>
--- net/netfilter/nf_conntrack_core.c | 2 ++ 1 file changed, 2 insertions(+)
net/netfilter/nf_conntrack_core.c +2 -0
@@ -1544,6 +1544,8 @@ void nf_conntrack_cleanup_end(void)nf_conntrack_tstamp_fini ();nf_conntrack_acct_fini ();nf_conntrack_expect_fini (); + +kmem_cache_destroy (nf_conntrack_cachep); }/*
Signature · 1 line
2.7.3
Quoted 1 line · Florian Westphal
I forgot to move the
kmem_cache_destroyinto the exit path.
Applied to nf, thanks Florian.