HomeFreeBSD

A lot of current code in network stack expects mbufs not having

Description

A lot of current code in network stack expects mbufs not having
m_nextpkt pointer, assuming that if there is one, then this is
a packet batch. Thus, mbufq_dequeue() needs to clear it on mbuf
that is being returned.

Details

Provenance
glebiusAuthored on
Parents
rS279212: Previous version of mbufq were fine initialized by M_ZERO, while
Branches
Unknown
Tags
Unknown

Event Timeline