commit | 347b0c20f4f655b892f328635f3426f3e73ba241 | [log] [tgz] |
---|---|---|
author | Gavin Shan <gwshan@linux.vnet.ibm.com> | Tue Jun 03 16:55:35 2014 +1000 |
committer | cstl-robot <robot@ibm.com> | Tue Jun 03 15:41:43 2014 +0800 |
tree | e3f9b6edab460d1003d271e2bef175333082976c | |
parent | f682ee995b98b8f02de86c003a66d0ae39f53cfd [diff] |
net/cxgb4: Don't retrieve stats during recovery We possibly retrieve the adapter's statistics during EEH recovery and that should be disallowed. Otherwise, it would possibly incur replicate EEH error and EEH recovery is going to fail eventually. The patch reuses statistics lock and checks net_device is attached before going to retrieve statistics, so that the problem can be avoided. It's responsing to bug#110450. Signed-off-by: Gavin Shan <shangw@linux.vnet.ibm.com>