DragonFly-2.3.1.573.g464e8 master sys/kern kern_descrip.c

Matthew Dillon dillon at crater.dragonflybsd.org
Fri Jul 3 10:51:28 PDT 2009


commit 464e801e77f8e4207ef040861cd7561c47e4f913
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Fri Jul 3 10:48:26 2009 -0700

    frevoke - More fixes to fdfree()
    
    * Don't replace p->p_fd until after all closef()'s have been called.  Fixed
      panic in kqueue's close function.
    
    * Move softrefs check to after the closef point, but before we actually
      start kfree()ing the structures.  Lock the closef's normally since
      p->p_fd is still valid.

Summary of changes:
 sys/kern/kern_descrip.c |   51 +++++++++++++++++++++++++++++++---------------
 1 files changed, 34 insertions(+), 17 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/464e801e77f8e4207ef040861cd7561c47e4f913


-- 
DragonFly BSD source repository





More information about the Commits mailing list