Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 1 Dec 1999 14:31:32 -0800 (PST)
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:  <199912012231.OAA35086@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
archie      1999/12/01 14:31:32 PST

  Modified files:
    sys/kern             uipc_mbuf.c 
    sys/sys              mbuf.h 
  Log:
  The functions m_copym() and m_copypacket() return read-only copies,
  because in the case of mbuf clusters they only increment the reference
  count rather than actually copying the data.
  
  Add comments to this effect, and add a new routine called m_dup() that
  returns a real, writable copy of an mbuf chain.
  
  This is preliminary work required for implementing 'ipfw tee'.
  
  Reviewed by:	julian
  
  Revision  Changes    Path
  1.46      +79 -1     src/sys/kern/uipc_mbuf.c
  1.37      +2 -1      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?199912012231.OAA35086>