projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
61e0979
)
netfilter: conntrack: destroy kmemcache on module removal
author
Florian Westphal
<fw@strlen.de>
Fri, 10 Jun 2016 15:25:19 +0000
(17:25 +0200)
committer
Pablo Neira Ayuso
<pablo@netfilter.org>
Wed, 15 Jun 2016 10:17:22 +0000
(12:17 +0200)
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 <fw@strlen.de>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
net/netfilter/nf_conntrack_core.c
patch
|
blob
|
history
diff --git
a/net/netfilter/nf_conntrack_core.c
b/net/netfilter/nf_conntrack_core.c
index db2312eeb2a47c44db0f0ac5a529a10a0a8f8d2f..f204274a9b6b9dfaa0bc66d69c15d85255a87a17 100644
(file)
--- a/
net/netfilter/nf_conntrack_core.c
+++ b/
net/netfilter/nf_conntrack_core.c
@@
-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);
}
/*