Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 27 Apr 2008 10:49:51 -0700
From:      John-Mark Gurney <jmg@funkthat.com>
To:        Robert Watson <rwatson@FreeBSD.org>
Cc:        cvs-src@FreeBSD.org, src-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/sys/kern uipc_syscalls.c
Message-ID:  <20080427174951.GJ82555@funkthat.com>
In-Reply-To: <200804271550.m3RFo0R6071940@repoman.freebsd.org>
References:  <200804271550.m3RFo0R6071940@repoman.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Robert Watson wrote this message on Sun, Apr 27, 2008 at 15:50 +0000:
>   Note that the current fix isn't perfect, but better than
>   panicking: normally we guarantee that simultaneous invocations
>   of a system call to write on a stream socket won't be
>   interlaced, which is ensured by use of the socket buffer sleep
>   lock.  This is guaranteed for the sendfile headers, but not
>   trailers.  In practice, this is likely not a problem, but
>   should be fixed.

Should this be mentioned in the BUGS section of the sendfile(2)
man page? or do you plan on fixing this in the near future?

-- 
  John-Mark Gurney				Voice: +1 415 225 5579

     "All that I will do, has been done, All that I have, has not."



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