Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 11 Apr 1998 21:54:37 -0400 (EDT)
From:      Garrett Wollman <wollman@khavrinen.lcs.mit.edu>
To:        Poul-Henning Kamp <phk@FreeBSD.ORG>
Cc:        cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-sys@FreeBSD.ORG
Subject:   cvs commit: src/sys/kern uipc_syscalls.c
Message-ID:  <199804120154.VAA20615@khavrinen.lcs.mit.edu>
In-Reply-To: <199804112031.NAA01564@freefall.freebsd.org>
References:  <199804112031.NAA01564@freefall.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
<<On Sat, 11 Apr 1998 13:31:46 -0700 (PDT), Poul-Henning Kamp <phk@FreeBSD.ORG> said:

>   setsockopt() transports user option data in an mbuf. if the user
>   data is greater than MLEN, setsockopt is unable to pass it onto
>   the protocol handler.  Allocate a cluster in such case.
  
Actually, what is eventually supposed to happen (after I pop about
five other projects off my stack) is that socket options are passed
down in the kernel as uio structs, and don't get copied in until the
appropriate lower layer has accepted them.  (This also eliminates yet
another use of mbufs to hold something other than packet data.)

-GAWollman

--
Garrett A. Wollman   | O Siem / We are all family / O Siem / We're all the same
wollman@lcs.mit.edu  | O Siem / The fires of freedom 
Opinions not those of| Dance in the burning flame
MIT, LCS, CRS, or NSA|                     - Susan Aglukark and Chad Irschick



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