]> asedeno.scripts.mit.edu Git - linux.git/commit
net: Convert log pernet_operations
authorKirill Tkhai <ktkhai@virtuozzo.com>
Mon, 5 Mar 2018 11:30:50 +0000 (14:30 +0300)
committerDavid S. Miller <davem@davemloft.net>
Mon, 5 Mar 2018 15:48:27 +0000 (10:48 -0500)
commit3822034569ac8ae39556e50fa165dc7d4276f452
treee3ee52d557e329df61246784d13f7d1824129bcc
parentec012f3b85159102662264bb5c3436c849d2b1b9
net: Convert log pernet_operations

These pernet_operations use nf_log_set() and nf_log_unset()
in their methods:

nf_log_bridge_net_ops
nf_log_arp_net_ops
nf_log_ipv4_net_ops
nf_log_ipv6_net_ops
nf_log_netdev_net_ops

Nobody can send such a packet to a net before it's became
registered, nobody can send a packet after all netdevices
are unregistered. So, these pernet_operations 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/netfilter/nf_log_bridge.c
net/ipv4/netfilter/nf_log_arp.c
net/ipv4/netfilter/nf_log_ipv4.c
net/ipv6/netfilter/nf_log_ipv6.c
net/netfilter/nf_log_netdev.c