]> git.droids-corp.org - dpdk.git/blobdiff - drivers/net/mlx5/mlx5_socket.c
net/mlx5: fix VLAN ID check
[dpdk.git] / drivers / net / mlx5 / mlx5_socket.c
index cf2b433c009e4aae61cfa44641fb998ecbc8add7..a79896cb33a6101770d59786333c2f39ff81396d 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;