diff options
author | Moshe Shemesh <moshe@mellanox.com> | 2020-12-09 15:03:38 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-12-09 16:44:35 -0800 |
commit | fed91613c9dd455dd154b22fa8e11b8526466082 (patch) | |
tree | 672af318d9033109c9807030ac5cc6decbf97055 /usr | |
parent | 299bcb55ecd1412f6df606e9dc0912d55610029e (diff) |
net/mlx4_en: Avoid scheduling restart task if it is already running
Add restarting state flag to avoid scheduling another restart task while
such task is already running. Change task name from watchdog_task to
restart_task to better fit the task role.
Fixes: 1e338db56e5a ("mlx4_en: Fix a race at restart task")
Signed-off-by: Moshe Shemesh <moshe@mellanox.com>
Signed-off-by: Tariq Toukan <tariqt@nvidia.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'usr')
0 files changed, 0 insertions, 0 deletions