cvs commit: src/sys/kern uipc_usrreq.c

Robert Watson rwatson at FreeBSD.org
Sat Jul 17 18:29:44 PDT 2004


rwatson     2004-07-18 01:29:43 UTC

  FreeBSD src repository

  Modified files:
    sys/kern             uipc_usrreq.c 
  Log:
  Drop Giant and acquire the UNIX domain socket subsystem lock a bit
  earlier in unp_connect() so that vp->v_socket can't change between
  our copying its value to a local variable and later use of that
  variable.  This may have been responsible for a panic during
  shutdown that I experienced where simultaneous closing of a listen
  socket by rpcbind and a new connection being made to rpcbind by
  mountd.
  
  Revision  Changes    Path
  1.134     +4 -4      src/sys/kern/uipc_usrreq.c


More information about the cvs-src mailing list