summaryrefslogtreecommitdiffstats
path: root/tools/regression
diff options
context:
space:
mode:
authorrwatson <rwatson@FreeBSD.org>2005-11-09 20:54:25 +0000
committerrwatson <rwatson@FreeBSD.org>2005-11-09 20:54:25 +0000
commit6b8f490b777875eac382dcd10325ccfef5a77fe8 (patch)
tree43bbaf25be936ae882dd0916527462579b47ae29 /tools/regression
parent07c0605ab8ee1d858a12347a7df2bf7417c35120 (diff)
downloadFreeBSD-src-6b8f490b777875eac382dcd10325ccfef5a77fe8.zip
FreeBSD-src-6b8f490b777875eac382dcd10325ccfef5a77fe8.tar.gz
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
Diffstat (limited to 'tools/regression')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud