net: Convert nf_log_net_ops
authorKirill Tkhai <ktkhai@virtuozzo.com>
Tue, 13 Feb 2018 09:27:31 +0000 (12:27 +0300)
committerDavid S. Miller <davem@davemloft.net>
Tue, 13 Feb 2018 15:36:06 +0000 (10:36 -0500)
commitc9d8fb91351fe1514731b7f6d24d4decc0028978
treebe0fb57ba4cf2e2785d84febec497c9f4a5c8efe
parent9549929923738d14dc450f0427a4b98ac3e8aff2
net: Convert nf_log_net_ops

The pernet_operations would have had a problem in parallel
execution with others, if init_net had been able to released.
But it's not, and the rest is safe for that.
There is memory allocation, which nobody else interested in,
and sysctl registration. So, we make them async.

Signed-off-by: Kirill Tkhai <ktkhai@virtuozzo.com>
Acked-by: Andrei Vagin <avagin@virtuozzo.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/netfilter/nf_log.c