aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
Diffstat (limited to 'net')
-rw-r--r--net/netfilter/nf_conntrack_core.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/net/netfilter/nf_conntrack_core.c b/net/netfilter/nf_conntrack_core.c
index 9a67c796b385..ea094b231d62 100644
--- a/net/netfilter/nf_conntrack_core.c
+++ b/net/netfilter/nf_conntrack_core.c
@@ -1395,6 +1395,13 @@ void nf_conntrack_cleanup(void)
1395 kmem_cache_destroy(nf_conntrack_expect_cachep); 1395 kmem_cache_destroy(nf_conntrack_expect_cachep);
1396 free_conntrack_hash(nf_conntrack_hash, nf_conntrack_vmalloc, 1396 free_conntrack_hash(nf_conntrack_hash, nf_conntrack_vmalloc,
1397 nf_conntrack_htable_size); 1397 nf_conntrack_htable_size);
1398
1399 /* free l3proto protocol tables */
1400 for (i = 0; i < PF_MAX; i++)
1401 if (nf_ct_protos[i]) {
1402 kfree(nf_ct_protos[i]);
1403 nf_ct_protos[i] = NULL;
1404 }
1398} 1405}
1399 1406
1400static struct list_head *alloc_hashtable(int size, int *vmalloced) 1407static struct list_head *alloc_hashtable(int size, int *vmalloced)