]> git.baikalelectronics.ru Git - kernel.git/commit
net: Convert ipgre_net_ops, ipgre_tap_net_ops, erspan_net_ops, vti_net_ops and ipip_n...
authorKirill Tkhai <ktkhai@virtuozzo.com>
Mon, 26 Feb 2018 13:01:52 +0000 (16:01 +0300)
committerDavid S. Miller <davem@davemloft.net>
Tue, 27 Feb 2018 16:01:37 +0000 (11:01 -0500)
commitca95724d2d1d6e6eae0ee6cc170f82952657bdd5
treeb31d92a8d6089829c67a48d74a8a0f018dc85799
parent6aa7c69423f2b67e9d64bd3ba0df9beadfbb0da6
net: Convert ipgre_net_ops, ipgre_tap_net_ops, erspan_net_ops, vti_net_ops and ipip_net_ops

These pernet_operations are similar to bond_net_ops. Exit methods
unregisters all net ipgre/ipgre_tap/erspan/vti/ipip devices, and it
looks like another pernet_operations are not interested in foreign
net ipgre/ipgre_tap/erspan/vti/ipip list. Init method also does not
intersect with something pernet-specific. 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/ipv4/ip_gre.c
net/ipv4/ip_vti.c
net/ipv4/ipip.c