git: DragonFly_RELEASE_2_8 kernel - Fix bug in unp_gc()

Matthew Dillon dillon at
Sun Oct 24 09:38:29 PDT 2010

commit ae4b7676505eaa88b2343922423312d1cdb0cfaa
Author: Matthew Dillon <dillon at>
Date:   Mon Oct 18 00:10:35 2010 -0700

    kernel - Fix bug in unp_gc()
    * Fix a race against a file close where FDEFER can wind up being left
    * Fix a panic during unix domain socket garbage collection where a token
      was being acquired with a spinlock held.  Use trytoken instead and if
      it fails simply defer checking of the (fp) in question.

Summary of changes:
 sys/kern/kern_descrip.c |    2 +
 sys/kern/uipc_usrreq.c  |   68 +++++++++++++++++++++++++---------------------
 2 files changed, 39 insertions(+), 31 deletions(-)

DragonFly BSD source repository

More information about the Commits mailing list