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

git: kernel - Fix tty session panic


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Thu, 26 Aug 2010 10:51:08 -0700 (PDT)

commit 94a6eea8b2dcb172e2c46bb304dd0c23780a6406
Author: Matthew Dillon <dillon@apollo.backplane.com>
Date:   Thu Aug 26 10:50:00 2010 -0700

    kernel - Fix tty session panic
    
    * Ref-count the session->s_ttyp references to ttys and do not
      destroy a tty unless it is zero.
    
    * This should fix remaining panics in this area.  My last attempt
      to fix it (testing tp->t_session) did not work due to the possibility
      of the tty being half-closed.

Summary of changes:
 sys/kern/kern_proc.c |    6 ++++++
 sys/kern/tty.c       |   21 ++++++++++++++++++++-
 sys/kern/tty_pty.c   |    4 ++--
 3 files changed, 28 insertions(+), 3 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/94a6eea8b2dcb172e2c46bb304dd0c23780a6406


-- 
DragonFly BSD source repository



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