summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorJacob Keller <jacob.e.keller@intel.com>2016-03-04 15:37:48 -0800
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>2016-04-20 23:04:57 -0700
commit3ef2f563267892230681b1b8890d8f759d39e64d (patch)
tree41117f9b8c025e7f4c2837acaf7a5276084ed08e /lib
parent09401ae25191039f4aa45c13718595f550745c68 (diff)
downloadlinux-3ef2f563267892230681b1b8890d8f759d39e64d.tar.gz
linux-3ef2f563267892230681b1b8890d8f759d39e64d.tar.xz
fm10k: remove debug-statistics support
This change fixes an (ab)use of the ethtool stats API, which could result in corrupt memory or misleading stat output. The ethtool stats API is not robust enough to handle varying number of statistics due to how it requests the size and allocates memory. Remove the poorly conceived support originally added for extra debug statistics. In the future, a new stats API may open up the ability to display these statistics. Signed-off-by: Jacob Keller <jacob.e.keller@intel.com> Tested-by: Krishneil Singh <Krishneil.k.singh@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions