diff options
| author | Mohamad Haj Yahia <mohamad@mellanox.com> | 2016-06-30 17:34:42 +0300 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-05-10 10:25:56 +0200 |
| commit | 0cdcfc149c573f4ab0ace699ef273e6b54cbd807 (patch) | |
| tree | 5ee088b852d0041519795004fa7b8df69898f825 /include | |
| parent | 03184b1b389c1dd3aefa1ab94a684c3f832f7a1a (diff) | |
net/mlx5: Fix potential deadlock in command mode change
commit 9cba4ebcf374c3772f6eb61f2d065294b2451b49 upstream.
Call command completion handler in case of timeout when working in
interrupts mode.
Avoid flushing the commands workqueue after acquiring the semaphores to
prevent a potential deadlock.
Fixes: e126ba97dba9 ('mlx5: Add driver for Mellanox Connect-IB adapters')
Signed-off-by: Mohamad Haj Yahia <mohamad@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions
