cvs commit: src/sys/sys socket.h src/sys/kern uipc_socket.c

Paul Saab ps at FreeBSD.org
Mon Nov 29 15:10:59 PST 2004


ps          2004-11-29 23:10:59 UTC

  FreeBSD src repository

  Modified files:
    sys/sys              socket.h 
    sys/kern             uipc_socket.c 
  Log:
  If soreceive() is called from a socket callback, there's no reason
  to do a window update to the peer (thru an ACK) from soreceive()
  itself. TCP will do that upon return from the socket callback.
  Sending a window update from soreceive() results in a lock reversal.
  
  Submitted by:   Mohan Srinivasan mohans at yahoo-inc dot com
  Reviewed by:    rwatson
  
  Revision  Changes    Path
  1.219     +7 -1      src/sys/kern/uipc_socket.c
  1.84      +3 -0      src/sys/sys/socket.h


More information about the cvs-src mailing list