summaryrefslogtreecommitdiff
path: root/crypto/crc32c.c
diff options
context:
space:
mode:
authorBen Greear <greearb@candelatech.com>2012-02-17 17:44:23 +0400
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>2012-03-03 06:07:52 +0400
commitd24d65eda97fe51f2996538148e85d309e2460e4 (patch)
tree997ee633a60a2c945c02f4c35dd831fa02356d54 /crypto/crc32c.c
parentb4017c5368f992fb8fb3a2545a0977082c6664e4 (diff)
downloadlinux-d24d65eda97fe51f2996538148e85d309e2460e4.tar.xz
e100: Fix rx-over-length statistics.
The old code would += the total errors every time stats were gathered. Instead, keep a count of short-pkt and long-pkt counters and then simply add them together for the rx-over-length stat. Signed-off-by: Ben Greear <greearb@candelatech.com> Tested-by: Aaron Brown <aaron.f.brown@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Diffstat (limited to 'crypto/crc32c.c')
0 files changed, 0 insertions, 0 deletions