mirror of
https://github.com/freebsd/freebsd-src
synced 2024-10-08 17:40:31 +00:00
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
This commit is contained in:
parent
9d8ce07800
commit
8e46f3111b
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=183498
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue