From owner-cvs-all Fri May 31 15:10: 8 2002 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id D7B7A37B406; Fri, 31 May 2002 15:09:57 -0700 (PDT) Received: (from archie@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g4VM9vk07158; Fri, 31 May 2002 15:09:57 -0700 (PDT) (envelope-from archie) Message-Id: <200205312209.g4VM9vk07158@freefall.freebsd.org> From: Archie Cobbs Date: Fri, 31 May 2002 15:09:57 -0700 (PDT) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/kern uipc_mbuf.c src/sys/sys mbuf.h 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 archie 2002/05/31 15:09:57 PDT Modified files: sys/kern uipc_mbuf.c sys/sys mbuf.h Log: Fix a bug in m_split(): the "m->m_ext.ext_size" field of an mbuf was being set to zero. This field indicates the total space in the external buffer and therefore should not be modified after the external buffer is added. Add a comment warning that the mbufs returned by m_split() might be read-only. Fix M_TRAILINGSPACE() to return zero if !M_WRITABLE(m). Reviewed by: freebsd-net Obtained from: Vernier Networks, Inc. MFC after: 1 week Revision Changes Path 1.92 +5 -1 src/sys/kern/uipc_mbuf.c 1.90 +9 -2 src/sys/sys/mbuf.h To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message