Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 14 Dec 1998 21:52:00 PST
From:      Bill Fenner <fenner@parc.xerox.com>
To:        fenner@parc.xerox.com, robinson@netrinsics.com
Cc:        freebsd-net@FreeBSD.ORG, freebsd-stable@FreeBSD.ORG
Subject:   Re: MLEN < write length < MINCLSIZE "bug"
Message-ID:  <199812150552.VAA17801@mango.parc.xerox.com>
In-Reply-To: <199812151340.NAA07127@netrinsics.com>

next in thread | previous in thread | raw e-mail | index | archive | help
You misunderstand.  The fix is to accumulate mbufs in a chain until either
a) The protocol gets all of the data that it wanted, or
b) All of the data that the user has provided has been copied into mbufs.

(b) is what sosend() used to do.  The URL referenced (the one with
"vanj88" in it) describes why sosend() was changed to use only a single
mbuf at a time, but this performance problem was not envisioned at
the time.

  Bill

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?199812150552.VAA17801>