Commit 4302f5ee authored by Pablo Neira Ayuso's avatar Pablo Neira Ayuso

nfnetlink_cttimeout: add rcu_barrier() on module removal

Make sure kfree_rcu() released objects before leaving the module removal
exit path.
Signed-off-by: default avatarPablo Neira Ayuso <pablo@netfilter.org>
parent ae2d708e
......@@ -612,6 +612,7 @@ static void __exit cttimeout_exit(void)
RCU_INIT_POINTER(nf_ct_timeout_find_get_hook, NULL);
RCU_INIT_POINTER(nf_ct_timeout_put_hook, NULL);
#endif /* CONFIG_NF_CONNTRACK_TIMEOUT */
rcu_barrier();
}
module_init(cttimeout_init);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment