cvs commit: src/sys/kern uipc_socket.c

Robert Watson rwatson at FreeBSD.org
Tue Jul 11 21:57:01 UTC 2006


rwatson     2006-07-11 21:56:58 UTC

  FreeBSD src repository

  Modified files:
    sys/kern             uipc_socket.c 
  Log:
  When pru_attach() fails, call sodealloc() on the socket rather than
  using sorele() and the full tear-down path.  Since protocol state
  allocation failed, this is not required (and is arguably undesirable).
  This matches the behavior of sonewconn() under the same circumstances.
  
  Revision  Changes    Path
  1.270     +1 -4      src/sys/kern/uipc_socket.c


More information about the cvs-src mailing list