net: Convert iptable_filter_net_ops
authorKirill Tkhai <ktkhai@virtuozzo.com>
Mon, 19 Feb 2018 08:50:54 +0000 (11:50 +0300)
committerDavid S. Miller <davem@davemloft.net>
Mon, 19 Feb 2018 19:19:12 +0000 (14:19 -0500)
commitda349fad8045cc44cd9b1752b0e2d943df62cabf
treeeaa4d70b40d123a430d6379e13a8af8734fb1766
parent4d6b80762b9384db3281f792a71746b388f395be
net: Convert iptable_filter_net_ops

These pernet_operations register and unregister
net::ipv4.iptable_filter table. Since there are
no packets in-flight at the time of exit method
is working, iptables rules should not be touched.
Also, pernet_operations should not send ipv4
packets each other. So, it's safe to mark them
async.

Signed-off-by: Kirill Tkhai <ktkhai@virtuozzo.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/netfilter/iptable_filter.c