Re: m_dup oddity -- creates mbuf chains with cluster containing 208 bytes of data

2005-12-14 Thread Mike Silbersack
> 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?

Re: m_dup oddity -- creates mbuf chains with cluster containing 208 bytes of data

2005-12-14 Thread John-Mark Gurney
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

m_dup oddity -- creates mbuf chains with cluster containing 208 bytes of data

2005-12-14 Thread Ed Maste
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