aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/net/vxlan.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/vxlan.c b/drivers/net/vxlan.c
index 227b54a1f88a..0ba1e7edbb1b 100644
--- a/drivers/net/vxlan.c
+++ b/drivers/net/vxlan.c
@@ -1916,9 +1916,9 @@ late_initcall(vxlan_init_module);
1916 1916
1917static void __exit vxlan_cleanup_module(void) 1917static void __exit vxlan_cleanup_module(void)
1918{ 1918{
1919 unregister_pernet_device(&vxlan_net_ops);
1920 rtnl_link_unregister(&vxlan_link_ops); 1919 rtnl_link_unregister(&vxlan_link_ops);
1921 destroy_workqueue(vxlan_wq); 1920 destroy_workqueue(vxlan_wq);
1921 unregister_pernet_device(&vxlan_net_ops);
1922 rcu_barrier(); 1922 rcu_barrier();
1923} 1923}
1924module_exit(vxlan_cleanup_module); 1924module_exit(vxlan_cleanup_module);