summaryrefslogtreecommitdiff
path: root/sys/dev/oce
diff options
context:
space:
mode:
authorGleb Smirnoff <glebius@FreeBSD.org>2012-11-23 11:19:43 +0000
committerGleb Smirnoff <glebius@FreeBSD.org>2012-11-23 11:19:43 +0000
commit3e29cda0982706112e7eb8582d03305ff9fdd437 (patch)
tree337d888b4d8d7dba05d2f1e0ffccb2219d2e2407 /sys/dev/oce
parent099fae0e657cac08ba8a1d54f0a619fb8584d0e2 (diff)
Notes
Diffstat (limited to 'sys/dev/oce')
-rw-r--r--sys/dev/oce/oce_if.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/dev/oce/oce_if.c b/sys/dev/oce/oce_if.c
index 120902a10a7d..30a6d4c28f55 100644
--- a/sys/dev/oce/oce_if.c
+++ b/sys/dev/oce/oce_if.c
@@ -1222,7 +1222,9 @@ oce_multiq_transmit(struct ifnet *ifp, struct mbuf *m, struct oce_wq *wq)
}
break;
}
- drbr_stats_update(ifp, next->m_pkthdr.len, next->m_flags);
+ ifp->if_obytes += next->m_pkthdr.len;
+ if (next->m_flags & M_MCAST)
+ ifp->if_omcasts++;
ETHER_BPF_MTAP(ifp, next);
next = drbr_dequeue(ifp, br);
}