projects
/
platform
/
kernel
/
linux-rpi3.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
68eabe8
)
net: Convert brnf_net_ops
author
Kirill Tkhai
<ktkhai@virtuozzo.com>
Mon, 26 Feb 2018 13:02:56 +0000
(16:02 +0300)
committer
David S. Miller
<davem@davemloft.net>
Tue, 27 Feb 2018 16:01:38 +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/bridge/br_netfilter_hooks.c
patch
|
blob
|
history
diff --git
a/net/bridge/br_netfilter_hooks.c
b/net/bridge/br_netfilter_hooks.c
index
27f1d4f
..
484f541
100644
(file)
--- a/
net/bridge/br_netfilter_hooks.c
+++ b/
net/bridge/br_netfilter_hooks.c
@@
-967,6
+967,7
@@
static struct pernet_operations brnf_net_ops __read_mostly = {
.exit = brnf_exit_net,
.id = &brnf_net_id,
.size = sizeof(struct brnf_net),
+ .async = true,
};
static struct notifier_block brnf_notifier __read_mostly = {