qlge: Add check for eeh failure when closing device.
Fix crash where resources are freed twice on an eeh recovery failure. If eeh recovery fails we set a flag to indicate to close() that resources have been freed. Signed-off-by: Ron Mercer <ron.mercer@qlogic.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:

committed by
David S. Miller

parent
a112fd4ce3
commit
4bbd1a1903
@@ -2005,6 +2005,7 @@ enum {
|
||||
QL_SELFTEST = 9,
|
||||
QL_LB_LINK_UP = 10,
|
||||
QL_FRC_COREDUMP = 11,
|
||||
QL_EEH_FATAL = 12,
|
||||
};
|
||||
|
||||
/* link_status bit definitions */
|
||||
|
Reference in New Issue
Block a user