projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
SELinux: fix sleeping allocation in security_context_to_sid
[firefly-linux-kernel-4.4.55.git]
/
net
/
netfilter
/
nf_conntrack_expect.c
diff --git
a/net/netfilter/nf_conntrack_expect.c
b/net/netfilter/nf_conntrack_expect.c
index e31beeb33b2b10ca8e0bc6c43aedcbe4a1c8c990..e8f0dead267fafab5dbefcde382d58cdcf0daf52 100644
(file)
--- a/
net/netfilter/nf_conntrack_expect.c
+++ b/
net/netfilter/nf_conntrack_expect.c
@@
-587,10
+587,10
@@
int __init nf_conntrack_expect_init(void)
return 0;
err3:
+ kmem_cache_destroy(nf_ct_expect_cachep);
+err2:
nf_ct_free_hashtable(nf_ct_expect_hash, nf_ct_expect_vmalloc,
nf_ct_expect_hsize);
-err2:
- kmem_cache_destroy(nf_ct_expect_cachep);
err1:
return err;
}