]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Merge kern_descrip.c:1.284 from HEAD to RELENG_6:
authorrwatson <rwatson@FreeBSD.org>
Wed, 16 Nov 2005 08:12:11 +0000 (08:12 +0000)
committerrwatson <rwatson@FreeBSD.org>
Wed, 16 Nov 2005 08:12:11 +0000 (08:12 +0000)
commit6b9e4e50dc5ee788f09b8510e405eb6546ed8e42
treea50434a22f6dcb54a2559a53dd3a7c3914eda632
parent2b05328a55af67a24d78f809a7c6fa0eeead08c6
Merge kern_descrip.c:1.284 from HEAD to RELENG_6:

  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.
sys/kern/kern_descrip.c