Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 11 Jul 2004 18:29:47 +0000 (UTC)
From:      Robert Watson <rwatson@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/kern uipc_socket.c
Message-ID:  <200407111829.i6BITlS8081755@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
rwatson     2004-07-11 18:29:47 UTC

  FreeBSD src repository

  Modified files:
    sys/kern             uipc_socket.c 
  Log:
  Add additional annotations to soreceive(), documenting the effects of
  locking on 'nextrecord' and concerns regarding potentially inconsistent
  or stale use of socket buffer or stack fields if they aren't carefully
  synchronized whenever the socket buffer mutex is released.  Document
  that the high-level sblock() prevents races against other readers on
  the socket.
  
  Also document the 'type' logic as to how soreceive() guarantees that
  it will only return one of normal data or inline out-of-band data.
  
  Revision  Changes    Path
  1.199     +35 -1     src/sys/kern/uipc_socket.c



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