net: Convert nf_tables_net_ops
authorKirill Tkhai <ktkhai@virtuozzo.com>
Wed, 7 Mar 2018 09:39:23 +0000 (12:39 +0300)
committerDavid S. Miller <davem@davemloft.net>
Thu, 8 Mar 2018 17:36:43 +0000 (12:36 -0500)
commitc7c5e435e44e585f84472f88b323553c794844c4
tree02f63a9af58dad4528ec8bee3f59a9a986018fb8
parent649b9826cc733fe410207d28d94984354e023b21
net: Convert nf_tables_net_ops

These pernet_operations looks nicely separated per-net.
Exit method unregisters net's nf tables objects.
We allow them be executed in parallel.

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