Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 16 Nov 2005 08:15:58 +0000 (UTC)
From:      Robert Watson <rwatson@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/kern kern_descrip.c
Message-ID:  <200511160815.jAG8FwKB047013@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
rwatson     2005-11-16 08:15:58 UTC

  FreeBSD src repository

  Modified files:        (Branch: RELENG_5)
    sys/kern             kern_descrip.c 
  Log:
  Merge kern_descrip.c:1.284 from HEAD to RELENG_5:
  
    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.
  
  Revision   Changes    Path
  1.243.2.8  +6 -2      src/sys/kern/kern_descrip.c



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200511160815.jAG8FwKB047013>