Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 27 Aug 2000 19:42:48 -0700 (PDT)
From:      Archie Cobbs <archie@whistle.com>
To:        David Malone <dwmalone@maths.tcd.ie>
Cc:        freebsd-net@freebsd.org, freebsd-current@freebsd.org
Subject:   Re: Proposal to clarify mbuf handling rules
Message-ID:  <200008280242.TAA66974@bubba.whistle.com>
In-Reply-To: <20000827225011.A10714@lanczos.maths.tcd.ie> "from David Malone at Aug 27, 2000 10:50:11 pm"

next in thread | previous in thread | raw e-mail | index | archive | help
David Malone writes:
> We were thinking it might be a good idea to have a flag associated
> with mbufs which means they are writable, providing the reference
> count is 1. Then we can provide a macro for checking writability.
> This flag could be set on jumbo ethernet buffers, but not sendfile
> buffers (for example).

That's a good idea.. I forgot about things like sendfile, where
the mbuf is read-only due to other reasons. So we need some kind
of flag it seems. That's good -- it makes it even more obvious.

-Archie

___________________________________________________________________________
Archie Cobbs   *   Whistle Communications, Inc.  *   http://www.whistle.com


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-net" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200008280242.TAA66974>