HomeFreeBSD

Remove M_PKTHDR from m_getm2() in icl_pdu_append_data().

Description

Remove M_PKTHDR from m_getm2() in icl_pdu_append_data().

ip_data_mbuf is always appended to ip_bhs_mbuf, so it does not need own
packet header. This change first avoids allocation/initialization of the
header, and then avoids dropping one when it later gets to socket buffer.

MFC after: 2 weeks

Details

Provenance
mavAuthored on
Parents
rS313706: For now, compile all of contrib/gdtoa without requiring strict aliasing,
Branches
Unknown
Tags
Unknown