OSDN Git Service

net: Convert mpls_net_ops
authorKirill Tkhai <ktkhai@virtuozzo.com>
Thu, 15 Mar 2018 09:11:06 +0000 (12:11 +0300)
committerDavid S. Miller <davem@davemloft.net>
Sat, 17 Mar 2018 21:07:39 +0000 (17:07 -0400)
commit8cec2f49dc413d6328067d22862b0bdd0f4305ec
tree58bbc638b6e60cbd7039f2285795446b9157ca88
parent489b30b53f0540b9f8e391cbb2839cea48b5d1c1
net: Convert mpls_net_ops

These pernet_operations register and unregister sysctl table.
Exit methods frees platform_labels from net::mpls::platform_label.
Everything is per-net, and they looks safe to be marked async.

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