net: Convert ip6gre_net_ops
authorKirill Tkhai <ktkhai@virtuozzo.com>
Mon, 26 Feb 2018 13:02:03 +0000 (16:02 +0300)
committerDavid S. Miller <davem@davemloft.net>
Tue, 27 Feb 2018 16:01:38 +0000 (11:01 -0500)
commit5c155c50244a0c6e1a7778ae7b4d2753e5e1f617
treef7301d42669f466cee4597f79559bb633f571f72
parent31502104b301c0dcacd5df8e92fba9dcf20dfccb
net: Convert ip6gre_net_ops

These pernet_operations are similar to bond_net_ops. Exit method
unregisters all net ip6gre devices, and it looks like another
pernet_operations are not interested in foreign net ip6gre list
or net_generic()->tunnels_wc. Init method registers net device.
So, it's possible to mark them async.

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