Date: Fri, 31 May 2002 15:09:57 -0700 (PDT) From: Archie Cobbs <archie@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/kern uipc_mbuf.c src/sys/sys mbuf.h Message-ID: <200205312209.g4VM9vk07158@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200205312209.g4VM9vk07158>
