From: Somnath Kotur Date: Wed, 29 May 2013 22:56:17 +0000 (+0000) Subject: be2net: Fix crash on 2nd invocation of PCI AER/EEH error_detected hook X-Git-Tag: v3.10-rc5~25^2~27 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=01e5b2c4559d084f4eaf0d160d84cc185db141ba;p=pandora-kernel.git 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 Signed-off-by: Somnath kotur Signed-off-by: David S. Miller --- Reading git-diff-tree failed