DragonFly BSD
DragonFly commits List (threaded) for 2010-10
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

git: DragonFly_RELEASE_2_8 kernel - Fix bug in unp_gc()


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Sun, 24 Oct 2010 09:38:14 -0700 (PDT)

commit ae4b7676505eaa88b2343922423312d1cdb0cfaa
Author: Matthew Dillon <dillon@apollo.backplane.com>
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
      set.
    
    * 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(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/ae4b7676505eaa88b2343922423312d1cdb0cfaa


-- 
DragonFly BSD source repository



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]