aboutsummaryrefslogtreecommitdiff
path: root/lib/notifier-error-inject.c
diff options
context:
space:
mode:
authorDaniel Jurgens <danielj@mellanox.com>2017-03-10 14:33:02 +0200
committerDavid S. Miller <davem@davemloft.net>2017-03-10 10:03:26 -0800
commit5d47f6c89d568ab61712d8c40676fbb020b68752 (patch)
tree3e0325c2e79f7e95551761d0f34103934faac68d /lib/notifier-error-inject.c
parentaf36370569eb37420e1e78a2e60c277b781fcd00 (diff)
net/mlx5: Don't save PCI state when PCI error is detected
When a PCI error is detected the PCI state could be corrupt, don't save it in that flow. Save the state after initialization. After restoring the PCI state during slot reset save it again, restoring the state destroys the previously saved state info. Fixes: 05ac2c0b7438 ('net/mlx5: Fix race between PCI error handlers and health work') Signed-off-by: Daniel Jurgens <danielj@mellanox.com> Signed-off-by: Saeed Mahameed <saeedm@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'lib/notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions