HomeFreeBSD

MFC r313707: Remove M_PKTHDR from m_getm2() in icl_pdu_append_data().

Description

MFC r313707: 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.

Details

Provenance
mavAuthored on
Parents
rS314322: librss: simplify some NULL checks.
Branches
Unknown
Tags
Unknown