Unverified Commit 0dc09080 authored by openeuler-ci-bot's avatar openeuler-ci-bot Committed by Gitee
Browse files

!10064 net/mlx5: Always stop health timer during driver removal

parents 3477aa10 7cfdeca7
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -1287,6 +1287,9 @@ static int mlx5_function_teardown(struct mlx5_core_dev *dev, bool boot)

	if (!err)
		mlx5_function_disable(dev, boot);
	else
		mlx5_stop_health_poll(dev, boot);

	return err;
}