From e8e715f669c5928f9403fcf4fd27a24eed7ca36a Mon Sep 17 00:00:00 2001 From: Pawel Jakub Dawidek Date: Tue, 6 Jun 2006 13:32:26 +0000 Subject: [PATCH] Don't increase hst_obytes field twice - it is already done at the begining of the function. It was wrong anyway, because we also support uio's structures, not only mbufs. --- sys/dev/ubsec/ubsec.c | 1 - 1 file changed, 1 deletion(-) diff --git a/sys/dev/ubsec/ubsec.c b/sys/dev/ubsec/ubsec.c index e8ea63816e7..9f83e439357 100644 --- a/sys/dev/ubsec/ubsec.c +++ b/sys/dev/ubsec/ubsec.c @@ -1597,7 +1597,6 @@ ubsec_callback(struct ubsec_softc *sc, struct ubsec_q *q) m_freem(q->q_src_m); crp->crp_buf = (caddr_t)q->q_dst_m; } - ubsecstats.hst_obytes += ((struct mbuf *)crp->crp_buf)->m_len; /* copy out IV for future use */ if (q->q_flags & UBSEC_QFLAGS_COPYOUTIV) {