summaryrefslogtreecommitdiffstats
path: root/include/linux/mlx5/driver.h
diff options
context:
space:
mode:
authorMohamad Haj Yahia2016-06-30 16:34:42 +0200
committerDavid S. Miller2016-07-01 12:12:03 +0200
commit9cba4ebcf374c3772f6eb61f2d065294b2451b49 (patch)
tree072607c40b60d2ba53cbb3c7dbf55617d38521dc /include/linux/mlx5/driver.h
parentnet/mlx5: Fix wait_vital for VFs and remove fixed sleep (diff)
downloadkernel-qcow2-linux-9cba4ebcf374c3772f6eb61f2d065294b2451b49.tar.gz
kernel-qcow2-linux-9cba4ebcf374c3772f6eb61f2d065294b2451b49.tar.xz
kernel-qcow2-linux-9cba4ebcf374c3772f6eb61f2d065294b2451b49.zip
net/mlx5: Fix potential deadlock in command mode change
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>
Diffstat (limited to 'include/linux/mlx5/driver.h')
0 files changed, 0 insertions, 0 deletions