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.
This commit is contained in:
parent
581608f956
commit
95669b8564
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user