OpenCloudOS-Kernel/drivers/net/ethernet/chelsio
Gavin Shan 9fe6cb5837 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.

Signed-off-by: Gavin Shan <shangw@linux.vnet.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2014-01-23 13:21:03 -08:00
..
cxgb drivers/net: delete non-required instances of include <linux/init.h> 2014-01-16 11:53:26 -08:00
cxgb3 drivers/net: delete non-required instances of include <linux/init.h> 2014-01-16 11:53:26 -08:00
cxgb4 net/cxgb4: Don't retrieve stats during recovery 2014-01-23 13:21:03 -08:00
cxgb4vf cxgb4: make functions static and remove dead code 2013-12-22 18:32:44 -05:00
Kconfig cxgb3: Restore dependency on INET 2012-11-28 17:40:59 -05:00
Makefile