commit | 9cba4ebcf374c3772f6eb61f2d065294b2451b49 | [log] [tgz] |
---|---|---|
author | Mohamad Haj Yahia <mohamad@mellanox.com> | Thu Jun 30 17:34:42 2016 +0300 |
committer | David S. Miller <davem@davemloft.net> | Fri Jul 01 06:12:03 2016 -0400 |
tree | 072607c40b60d2ba53cbb3c7dbf55617d38521dc | |
parent | d57847dc4177c6fd8d950cb533f5edf0eab45b11 [diff] |
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>