[PATCH 5.17 071/140] net/mlx5: Fix deadlock in sync reset flow