HomeFreeBSD

mbuf: provide mc_get() that allocates struct mchain of given length

Description

mbuf: provide mc_get() that allocates struct mchain of given length

Implement m_getm2(), which is widely used via m_getm() macro, as a wrapper
around mc_get(). New code is advised to use mc_get().

Reviewed by: markj, tuexen
Differential Revision: https://reviews.freebsd.org/D44149

Details

Provenance
glebiusAuthored on Apr 8 2024, 8:16 PM
Reviewer
markj
Differential Revision
D44149: mbuf: provide mc_get() that allocates struct mchain of given length
Parents
rGfd01798fc48d: mbuf: add mc_split() that works on two struct mchain
Branches
Unknown
Tags
Unknown