summaryrefslogtreecommitdiffstats
path: root/sys/net
diff options
context:
space:
mode:
authorglebius <glebius@FreeBSD.org>2008-09-30 14:18:38 +0000
committerglebius <glebius@FreeBSD.org>2008-09-30 14:18:38 +0000
commiteeb206c9094367e33f939107b7b7bfd7e96dac98 (patch)
tree03d8a8731d782aacf1e90cf48b7d169e22da605c /sys/net
parent54c73027a0ca385bef846cf2c28ace076dfbf7b6 (diff)
downloadFreeBSD-src-eeb206c9094367e33f939107b7b7bfd7e96dac98.zip
FreeBSD-src-eeb206c9094367e33f939107b7b7bfd7e96dac98.tar.gz
Do not mangle if_oerrors of the underlying interface. This counter
belongs solely to the driver. We don't lose any statistics with this change, because in a error case the drop counter on the interface output queue is always incremented. Reviewed by: thompsa
Diffstat (limited to 'sys/net')
-rw-r--r--sys/net/if_lagg.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/sys/net/if_lagg.c b/sys/net/if_lagg.c
index f3a586a..54c4594 100644
--- a/sys/net/if_lagg.c
+++ b/sys/net/if_lagg.c
@@ -1373,8 +1373,6 @@ lagg_enqueue(struct ifnet *ifp, struct mbuf *m)
int error = 0;
IFQ_HANDOFF(ifp, m, error);
- if (error)
- ifp->if_oerrors++;
return (error);
}
OpenPOWER on IntegriCloud