projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
65f828c
)
net: Convert iptable_security_net_ops
author
Kirill Tkhai
<
[email protected]
>
Wed, 7 Mar 2018 09:41:07 +0000
(12:41 +0300)
committer
David S. Miller
<
[email protected]
>
Thu, 8 Mar 2018 17:36:45 +0000
(12:36 -0500)
These pernet_operations unregister net::ipv4::iptable_security table.
Another net/pernet_operations do not send ipv4 packets to foreign
net namespaces. So, we mark them async.
Signed-off-by: Kirill Tkhai <
[email protected]
>
Signed-off-by: David S. Miller <
[email protected]
>
net/ipv4/netfilter/iptable_security.c
patch
|
blob
|
history
diff --git
a/net/ipv4/netfilter/iptable_security.c
b/net/ipv4/netfilter/iptable_security.c
index e5379fe57b64184c9c5f3340c268ff968ed1131e..c40d6b3d8b6a06b3afa80bf83654dadfa52cae01 100644
(file)
--- a/
net/ipv4/netfilter/iptable_security.c
+++ b/
net/ipv4/netfilter/iptable_security.c
@@
-76,6
+76,7
@@
static void __net_exit iptable_security_net_exit(struct net *net)
static struct pernet_operations iptable_security_net_ops = {
.exit = iptable_security_net_exit,
+ .async = true,
};
static int __init iptable_security_init(void)