> Ed Maste wrote this message on Wed, Dec 14, 2005 at 13:07 -0500:
>> It seemed this behaviour appeared in v 1.130 of uipc_mbuf.c. The
>> patch below restores the behaviour of putting MCLBYTES into the
>> initial mbuf cluster.
>>
>> Comments?
>
> Looks correct to me... I assume you've tested this?
Ed Maste wrote this message on Wed, Dec 14, 2005 at 13:07 -0500:
> A colleague discovered an oddity with m_dup(9), in that duping an
> mbuf with 209 or more bytes of data creates a chain with 208 bytes
> of data in a cluster attached to the first mbuf, with the rest of
> the data chained on the end
A colleague discovered an oddity with m_dup(9), in that duping an
mbuf with 209 or more bytes of data creates a chain with 208 bytes
of data in a cluster attached to the first mbuf, with the rest of
the data chained on the end.
It seemed this behaviour appeared in v 1.130 of uipc_mbuf.c. The
patc