aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/oce
diff options
context:
space:
mode:
authorGleb Smirnoff <glebius@FreeBSD.org>2012-09-28 18:28:27 +0000
committerGleb Smirnoff <glebius@FreeBSD.org>2012-09-28 18:28:27 +0000
commit063efed28c45a81e9f92c69b2fbe1f4f278c8f1a (patch)
tree66a3fa6f2f977c6c8d808397e65fc31995eab050 /sys/dev/oce
parenta1c9ec3ce0c44db02394c132fb073aba62565da3 (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 fdeb339eea28..5a47424257af 100644
--- a/sys/dev/oce/oce_if.c
+++ b/sys/dev/oce/oce_if.c
@@ -1183,7 +1183,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);
}