ed          2008-09-24 11:16:09 UTC

  FreeBSD src repository

  Modified files:
    sys/kern             tty.c 
  Log:
  SVN rev 183324 on 2008-09-24 11:16:09Z by ed
  
  Fix a crash when calling tty_rel_free() while draining during closure.
  
  Yesterday I got two reports of potential crashes, related to TTY
  deallocation during device closure. When a thread is in TF_OPENCLOSE,
  draining its output upon closure, we should not allow calls to
  tty_rel_free() to happen at the same time. This could cause the TTY to
  be torn down twice.
  
  PR:             kern/127561
  Reported by:    KOIE Hidetaka <koie suri co jp>
  Discussed with: thompsa
  
  Revision  Changes    Path
  1.291     +2 -2      src/sys/kern/tty.c
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to