cvs commit: src/sys/kern uipc_socket.c

Robert Watson rwatson at FreeBSD.org
Fri Aug 11 23:03:10 UTC 2006


rwatson     2006-08-11 23:03:10 UTC

  FreeBSD src repository

  Modified files:
    sys/kern             uipc_socket.c 
  Log:
  Before performing a sodealloc() when pru_attach() fails, assert that
  the socket refcount remains 1, and then drop to 0 before freeing the
  socket.
  
  PR:             101763
  Reported by:    Gleb Kozyrev <gkozyrev at ukr dot net>
  
  Revision  Changes    Path
  1.279     +3 -0      src/sys/kern/uipc_socket.c


More information about the cvs-src mailing list