HomeFreeBSD

mbuf(9): unbreak m_fragment()

Description

mbuf(9): unbreak m_fragment()

  • Fix it by replacing m_cat() with m_prev->m_next = m_new

(m_cat() will try to append data - as a result, there will be no
fragmentation).

  • Move some constants out of the loop.

Was previously tested with D4077.

Differential Revision: https://reviews.freebsd.org/D4090

Details

Provenance
avosAuthored on
Differential Revision
D4090: mbuf(9): unbreak m_fragment()
Parents
rS324672: ifnet(9): split ifc_alloc_unit() (should simplify code flow)
Branches
Unknown
Tags
Unknown