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

git: kernel - Fix bug in unp_gc()


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Mon, 18 Oct 2010 00:17:25 -0700 (PDT)

commit 2aa0ab56fd6eaeb11183d27161feb1df1c292bb7
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/2aa0ab56fd6eaeb11183d27161feb1df1c292bb7


-- 
DragonFly BSD source repository



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