Date: Thu, 22 Dec 2005 04:29:03 +0000 (UTC) From: Ed Maste <emaste@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/kern uipc_mbuf.c Message-ID: <200512220429.jBM4T3j5069675@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
emaste 2005-12-22 04:29:03 UTC FreeBSD src repository Modified files: (Branch: RELENG_5) sys/kern uipc_mbuf.c Log: MFC r1.160: 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. Approved by: jmg Silence from: rwatson (mentor) Revision Changes Path 1.135.2.7 +2 -1 src/sys/kern/uipc_mbuf.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200512220429.jBM4T3j5069675>