summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXin LI <delphij@FreeBSD.org>2008-12-19 00:20:48 +0000
committerXin LI <delphij@FreeBSD.org>2008-12-19 00:20:48 +0000
commit71d12cc165aa9fe8dce4944e1a4ab85ddff6c15e (patch)
tree1e443bfbbdaa2a0d7346e2883c8decfe266d00de
parentf042a9d43cfc7035781ce95538dde32aafbbe206 (diff)
downloadsrc-test2-71d12cc165aa9fe8dce4944e1a4ab85ddff6c15e.tar.gz
src-test2-71d12cc165aa9fe8dce4944e1a4ab85ddff6c15e.zip
MFC r186169:
Don't count InFramesL2FilterDiscards into Ierr. This value does not represent a real packet error but simply indicate that an unexpected unicast or multicast error was received by the NIC, which was not counted in the past as well. Reported by: many (on -stable@) Reviewed by: davidch Approved by: re (kensmith)
Notes
Notes: svn path=/releng/7.1/; revision=186306
-rw-r--r--sys/dev/bce/if_bce.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/sys/dev/bce/if_bce.c b/sys/dev/bce/if_bce.c
index fd59dad796d6..dac9c5f9816f 100644
--- a/sys/dev/bce/if_bce.c
+++ b/sys/dev/bce/if_bce.c
@@ -7408,7 +7408,6 @@ bce_stats_update(struct bce_softc *sc)
(u_long) sc->stat_IfInMBUFDiscards +
(u_long) sc->stat_Dot3StatsAlignmentErrors +
(u_long) sc->stat_Dot3StatsFCSErrors +
- (u_long) sc->stat_IfInFramesL2FilterDiscards +
(u_long) sc->stat_IfInRuleCheckerDiscards +
(u_long) sc->stat_IfInFTQDiscards +
(u_long) sc->com_no_buffers;