cvs commit: src/sys/kern uipc_mbuf.c
Ed Maste
emaste at FreeBSD.org
Wed Dec 14 15:34:27 PST 2005
emaste 2005-12-14 23:34:26 UTC
FreeBSD src repository
Modified files:
sys/kern uipc_mbuf.c
Log:
When using m_dup(9) to copy more than MHLEN bytes of data, don't create an
mbuf chain that starts with a cluster containing just MHLEN bytes. This
happened because m_dup called m_get or m_getcl depending on the amount of
data to copy, but then always set the size available in the first mbuf to
MHLEN.
Submitted by: Matt Koivisto <mkoivisto at sandvine dot com>
Approved by: jmg
Silence from: rwatson (mentor)
Revision Changes Path
1.160 +2 -1 src/sys/kern/uipc_mbuf.c
More information about the cvs-src
mailing list