summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authordelphij <delphij@FreeBSD.org>2008-12-16 05:03:22 +0000
committerdelphij <delphij@FreeBSD.org>2008-12-16 05:03:22 +0000
commit7a3ee73de5b8b84eacf81efb4b3eefae05dee5d8 (patch)
tree75162abf3ccd0da94bd66e88a1a0a49e8bfa7156 /sys
parentfff25bc8abd42018e590c2e9b084e93902b5b1b1 (diff)
downloadFreeBSD-src-7a3ee73de5b8b84eacf81efb4b3eefae05dee5d8.zip
FreeBSD-src-7a3ee73de5b8b84eacf81efb4b3eefae05dee5d8.tar.gz
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 MFC after: 3 days
Diffstat (limited to 'sys')
-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 b96c932..ff78453 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;
OpenPOWER on IntegriCloud