HomeFreeBSD

In m_devget(), if the data fits in a packet header mbuf, check the amount

Description

In m_devget(), if the data fits in a packet header mbuf, check the amount
of data is less than or equal to MHLEN instead of MLEN when placing initial
small packet header at end of mbuf.

Reviewed by: glebius
MFC after: 3 days

Details

Provenance
kevloAuthored on
Reviewer
glebius
Parents
rS305574: Remove a pointless translation of struct ioc_toc_header.
Branches
Unknown
Tags
Unknown