summaryrefslogtreecommitdiffstats
path: root/kernel/workqueue_internal.h
diff options
context:
space:
mode:
authorGavin Shan <shangw@linux.vnet.ibm.com>2014-01-23 12:27:35 +0800
committerDavid S. Miller <davem@davemloft.net>2014-01-23 13:21:03 -0800
commit9fe6cb58378c3b8535e00dab7195b5d35defa17a (patch)
treeca9209b3c6b40ce99d095ff0782afe382afd21bc /kernel/workqueue_internal.h
parent144be3d9f72fca538871b69b1f4c4af6f39d562a (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. Signed-off-by: Gavin Shan <shangw@linux.vnet.ibm.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'kernel/workqueue_internal.h')
0 files changed, 0 insertions, 0 deletions