projects
/
cascardo
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge branch 'pm-opp'
[cascardo/linux.git]
/
net
/
netfilter
/
core.c
diff --git
a/net/netfilter/core.c
b/net/netfilter/core.c
index
09e661c
..
f39276d
100644
(file)
--- a/
net/netfilter/core.c
+++ b/
net/netfilter/core.c
@@
-152,6
+152,8
@@
void nf_unregister_net_hook(struct net *net, const struct nf_hook_ops *reg)
#endif
synchronize_net();
nf_queue_nf_hook_drop(net, &entry->ops);
+ /* other cpu might still process nfqueue verdict that used reg */
+ synchronize_net();
kfree(entry);
}
EXPORT_SYMBOL(nf_unregister_net_hook);