net: Convert nfnl_log_net_ops
authorKirill Tkhai <ktkhai@virtuozzo.com>
Wed, 7 Mar 2018 09:40:00 +0000 (12:40 +0300)
committerDavid S. Miller <davem@davemloft.net>
Thu, 8 Mar 2018 17:36:44 +0000 (12:36 -0500)
commit74f26bbf505a8e1bb9a6ad9726d5bbe625607783
treefbef1db82b1ef90e861e49bbe9fab4ae36086e56
parentffdf72bc1eed9a56aa266bde2d425f85b4d4ca18
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>
net/netfilter/nfnetlink_log.c