net/mlx5: fix VLAN ID check
[dpdk.git] / drivers / net / mlx5 / mlx5_socket.c
index cf2b433..a79896c 100644 (file)
@@ -218,8 +218,7 @@ error:
 /**
  * Un-Initialize the pmd socket
  */
-void __attribute__((destructor))
-mlx5_pmd_socket_uninit(void)
+RTE_FINI(mlx5_pmd_socket_uninit)
 {
        if (!server_socket)
                return;