diff options
author | Mohamad Haj Yahia <mohamad@mellanox.com> | 2016-10-25 18:36:33 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-10-29 12:00:39 -0400 |
commit | 05ac2c0b7438ea08c5d54b48797acf9b22cb2f6f (patch) | |
tree | e25e0ebfe1a447c0de7a32fea33212457debcb20 /net/atm | |
parent | 2241007b3d783cbdbaa78c30bdb1994278b6f9b9 (diff) | |
download | linux-stable-05ac2c0b7438ea08c5d54b48797acf9b22cb2f6f.tar.gz linux-stable-05ac2c0b7438ea08c5d54b48797acf9b22cb2f6f.tar.bz2 linux-stable-05ac2c0b7438ea08c5d54b48797acf9b22cb2f6f.zip |
net/mlx5: Fix race between PCI error handlers and health work
Currently there is a race between the health care work and the kernel
pci error handlers because both of them detect the error, the first one
to be called will do the error handling.
There is a chance that health care will disable the pci after resuming
pci slot.
Also create a separate WQ because now we will have two types of health
works, one for the error detection and one for the recovery.
Fixes: 89d44f0a6c73 ('net/mlx5_core: Add pci error handlers to mlx5_core driver')
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 'net/atm')
0 files changed, 0 insertions, 0 deletions