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:
afd7b3e
)
net: Convert defrag6_net_ops
author
Kirill Tkhai
<ktkhai@virtuozzo.com>
Mon, 26 Feb 2018 13:03:45 +0000
(16:03 +0300)
committer
David S. Miller
<davem@davemloft.net>
Tue, 27 Feb 2018 16:01:39 +0000
(11:01 -0500)
These pernet_operations only unregister nf hooks.
So, they are able to be marked as async.
Signed-off-by: Kirill Tkhai <ktkhai@virtuozzo.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv6/netfilter/nf_defrag_ipv6_hooks.c
patch
|
blob
|
history
diff --git
a/net/ipv6/netfilter/nf_defrag_ipv6_hooks.c
b/net/ipv6/netfilter/nf_defrag_ipv6_hooks.c
index c87b48359e8f482d6e8deb91a19502b484f718ed..32f98bc06900de067837c2d982feac318cd9f443 100644
(file)
--- a/
net/ipv6/netfilter/nf_defrag_ipv6_hooks.c
+++ b/
net/ipv6/netfilter/nf_defrag_ipv6_hooks.c
@@
-103,6
+103,7
@@
static void __net_exit defrag6_net_exit(struct net *net)
static struct pernet_operations defrag6_net_ops = {
.exit = defrag6_net_exit,
+ .async = true,
};
static int __init nf_defrag_init(void)