aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorKirill Tkhai <ktkhai@virtuozzo.com>2018-03-07 12:40:00 +0300
committerDavid S. Miller <davem@davemloft.net>2018-03-08 12:36:44 -0500
commit74f26bbf505a8e1bb9a6ad9726d5bbe625607783 (patch)
treefbef1db82b1ef90e861e49bbe9fab4ae36086e56 /net
parentnet: Convert cttimeout_ops (diff)
downloadlinux-dev-74f26bbf505a8e1bb9a6ad9726d5bbe625607783.tar.xz
linux-dev-74f26bbf505a8e1bb9a6ad9726d5bbe625607783.zip
net: Convert nfnl_log_net_ops
These pernet_operations create and destroy /proc entries. Also, exit method unsets nfulnl_logger. The logger is not set by default, and it becomes bound via userspace request. So, they look safe to be made async. Signed-off-by: Kirill Tkhai <ktkhai@virtuozzo.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net')
-rw-r--r--net/netfilter/nfnetlink_log.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/net/netfilter/nfnetlink_log.c b/net/netfilter/nfnetlink_log.c
index 7b46aa4c478d..b21ef79849a1 100644
--- a/net/netfilter/nfnetlink_log.c
+++ b/net/netfilter/nfnetlink_log.c
@@ -1108,6 +1108,7 @@ static struct pernet_operations nfnl_log_net_ops = {
.exit = nfnl_log_net_exit,
.id = &nfnl_log_net_id,
.size = sizeof(struct nfnl_log_net),
+ .async = true,
};
static int __init nfnetlink_log_init(void)