diff options
author | Gavin Shan <shangw@linux.vnet.ibm.com> | 2014-01-23 12:27:35 +0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-01-23 13:21:03 -0800 |
commit | 9fe6cb58378c3b8535e00dab7195b5d35defa17a (patch) | |
tree | ca9209b3c6b40ce99d095ff0782afe382afd21bc /Documentation/kmemcheck.txt | |
parent | 144be3d9f72fca538871b69b1f4c4af6f39d562a (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 'Documentation/kmemcheck.txt')
0 files changed, 0 insertions, 0 deletions