cvs commit: src/sys/kern uipc_socket.c

Robert Watson rwatson at
Tue Oct 7 20:58:04 UTC 2008

rwatson     2008-10-07 20:57:55 UTC

  FreeBSD src repository

  Modified files:
    sys/kern             uipc_socket.c 
  SVN rev 183675 on 2008-10-07 20:57:55Z by rwatson
  In soreceive_dgram, when a 0-length buffer is passed into recv(2) and
  no data is ready, return 0 rather than blocking or returning EAGAIN.
  This is consistent with the behavior of soreceive_generic (soreceive)
  in earlier versions of FreeBSD, and restores this behavior for UDP.
  Discussed with: jhb, sam
  MFC after:      3 days
  Revision  Changes    Path
  1.319     +2 -1      src/sys/kern/uipc_socket.c

More information about the cvs-src mailing list