cvs commit: src/sys/kern kern_descrip.c
    Robert Watson 
    rwatson at FreeBSD.org
       
    Wed Nov  9 12:54:25 PST 2005
    
    
  
rwatson     2005-11-09 20:54:25 UTC
  FreeBSD src repository
  Modified files:
    sys/kern             kern_descrip.c 
  Log:
  In closef(), remove the assumption that there is a thread associated
  with the file descriptor.  When a file descriptor is closed as a result
  of garbage collecting a UNIX domain socket, the file descriptor will
  not have any associated thread, so the logic to identify advisory locks
  held by that thread is not appropriate.  Check the thread for NULL to
  avoid this scenario.  Expand an existing comment to say a bit more about
  this.
  
  MFC after:      1 week
  
  Revision  Changes    Path
  1.284     +6 -2      src/sys/kern/kern_descrip.c
    
    
More information about the cvs-all
mailing list