summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorSomnath Kotur <somnath.kotur@emulex.com>2013-05-30 02:56:17 +0400
committerDavid S. Miller <davem@davemloft.net>2013-05-31 03:58:06 +0400
commit01e5b2c4559d084f4eaf0d160d84cc185db141ba (patch)
treef6a76bf3fa3f5e39888f5cf960c884d970f6b84b /net
parente38b170695d4108eeb6cd84db36f567fc6de4120 (diff)
downloadlinux-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