summaryrefslogtreecommitdiffstats
path: root/kernel/net/netfilter/ipset/ip_set_hash_netnet.c
diff options
context:
space:
mode:
authorJozsef Kadlecsik <kadlec@blackhole.kfki.hu>2014-12-10 07:34:43 +0100
committerJozsef Kadlecsik <kadlec@blackhole.kfki.hu>2014-12-10 07:34:43 +0100
commit2ca175d78cebdf349e1616759f18511085aae01f (patch)
treef0f4284449c628d41f002f5be12cdcb251d23b99 /kernel/net/netfilter/ipset/ip_set_hash_netnet.c
parent17f7f59cd6c5c1f120bf5586b8f4e025fb45a76e (diff)
Call rcu_barrier() in module removal path
Diffstat (limited to 'kernel/net/netfilter/ipset/ip_set_hash_netnet.c')
-rw-r--r--kernel/net/netfilter/ipset/ip_set_hash_netnet.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/kernel/net/netfilter/ipset/ip_set_hash_netnet.c b/kernel/net/netfilter/ipset/ip_set_hash_netnet.c
index ea4d06b..054b1ec 100644
--- a/kernel/net/netfilter/ipset/ip_set_hash_netnet.c
+++ b/kernel/net/netfilter/ipset/ip_set_hash_netnet.c
@@ -489,6 +489,7 @@ hash_netnet_init(void)
static void __exit
hash_netnet_fini(void)
{
+ rcu_barrier();
ip_set_type_unregister(&hash_netnet_type);
}