From owner-cvs-all Tue Nov 26 20:29:38 2002 Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E726337B401; Tue, 26 Nov 2002 20:29:37 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9660B43E4A; Tue, 26 Nov 2002 20:29:37 -0800 (PST) (envelope-from tjr@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.6/8.12.6) with ESMTP id gAR4Q0mV038530; Tue, 26 Nov 2002 20:26:00 -0800 (PST) (envelope-from tjr@repoman.freebsd.org) Received: (from tjr@localhost) by repoman.freebsd.org (8.12.6/8.12.6/Submit) id gAR4Q0ZJ038529; Tue, 26 Nov 2002 20:26:00 -0800 (PST) Message-Id: <200211270426.gAR4Q0ZJ038529@repoman.freebsd.org> From: "Tim J. Robbins" Date: Tue, 26 Nov 2002 20:26:00 -0800 (PST) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/kern subr_mbuf.c X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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