Date: Tue, 26 Nov 2002 20:26:00 -0800 (PST) From: "Tim J. Robbins" <tjr@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/kern subr_mbuf.c Message-ID: <200211270426.gAR4Q0ZJ038529@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
tjr 2002/11/26 20:26:00 PST
Modified files:
sys/kern subr_mbuf.c
Log:
o Initialise each mbuf's m_len to 0 in m_getm(); mb_put_mem() depends
on this.
o Update the `cur' pointer in the cluster loop in m_getm() to avoid
incorrect truncation and leaked mbufs.
Reviewed by: bmilekic
Approved by: re
Revision Changes Path
1.34 +3 -1 src/sys/kern/subr_mbuf.c
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200211270426.gAR4Q0ZJ038529>
