cvs commit: src/sys/kern uipc_mbuf.c uipc_socket.c

Andre Oppermann andre at FreeBSD.org
Mon Jan 22 14:50:30 UTC 2007


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


More information about the cvs-src mailing list