diff options
author | Somnath Kotur <somnath.kotur@emulex.com> | 2013-05-30 02:56:17 +0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-05-31 03:58:06 +0400 |
commit | 01e5b2c4559d084f4eaf0d160d84cc185db141ba (patch) | |
tree | f6a76bf3fa3f5e39888f5cf960c884d970f6b84b /net | |
parent | e38b170695d4108eeb6cd84db36f567fc6de4120 (diff) | |
download | linux-01e5b2c4559d084f4eaf0d160d84cc185db141ba.tar.xz |
be2net: Fix crash on 2nd invocation of PCI AER/EEH error_detected hook
During a PCI EEH/AER error recovery flow, if the device did not successfully
restart, the error_detected() hook may be called a second time with a
"perm_failure" state. This patch skips over driver cleanup for the second
invocation of the callback.
Also, Lancer error recovery code is fixed-up to handle these changes.
Signed-off-by: Kalesh AP <kalesh.purayil@emulex.com>
Signed-off-by: Somnath kotur <somnath.kotur@emulex.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions