Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 22 Jan 2007 14:50:29 +0000 (UTC)
From:      Andre Oppermann <andre@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/kern uipc_mbuf.c uipc_socket.c
Message-ID:  <200701221450.l0MEoTg1094984@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
andre       2007-01-22 14:50:29 UTC

  FreeBSD src repository

  Modified files:
    sys/kern             uipc_mbuf.c uipc_socket.c 
  Log:
  Unbreak writes of 0 bytes.  Zero byte writes happen when only ancillary
  control data but no payload data is passed.
  
  Change m_uiotombuf() to return at least one empty mbuf if the requested
  length was zero.  Add comment to sosend_dgram and sosend_generic().
  
  Diagnoses by:           jhb
  Regression test by:     rwatson
  Pointy hat to.          andre
  
  Revision  Changes    Path
  1.171     +5 -2      src/sys/kern/uipc_mbuf.c
  1.289     +10 -0     src/sys/kern/uipc_socket.c



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