projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1109a90
)
netfilter: nf_tables: wait for call_rcu completion on module removal
author
Pablo Neira Ayuso
<pablo@netfilter.org>
Wed, 1 Oct 2014 11:53:20 +0000
(13:53 +0200)
committer
Pablo Neira Ayuso
<pablo@netfilter.org>
Thu, 2 Oct 2014 16:30:54 +0000
(18:30 +0200)
Make sure the objects have been released before the nf_tables modules
is removed.
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
net/netfilter/nf_tables_api.c
patch
|
blob
|
blame
|
history
diff --git
a/net/netfilter/nf_tables_api.c
b/net/netfilter/nf_tables_api.c
index 19e79f0d9ad25f121c8860f07e012a96ba0af528..556a0dfa4abc07f7ed7bde511e07db1a85c99ecd 100644
(file)
--- a/
net/netfilter/nf_tables_api.c
+++ b/
net/netfilter/nf_tables_api.c
@@
-4163,6
+4163,7
@@
static void __exit nf_tables_module_exit(void)
{
unregister_pernet_subsys(&nf_tables_net_ops);
nfnetlink_subsys_unregister(&nf_tables_subsys);
+ rcu_barrier();
nf_tables_core_module_exit();
kfree(info);
}