mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
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
84f03df02c
commit
e8e715f669
1 changed files with 0 additions and 1 deletions
|
|
@ -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 a new issue