Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 13 Apr 2005 13:56:17 +0000 (UTC)
From:      Tai-hwa Liang <avatar@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/kern tty.c
Message-ID:  <200504131356.j3DDuHdC053368@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
avatar      2005-04-13 13:56:17 UTC

  FreeBSD src repository

  Modified files:
    sys/kern             tty.c 
  Log:
  According to the comment in struct tty, t_modem is optional; hence we should
  guard against NULL t_modem entry. Otherwise, driver doesn't have t_modem
  callback implemented(such like sys/dev/usb/ucycom.c) would panic when
  someone opens the driver's associated tty device.
  
  Reviewed by:    phk, sam (mentor)
  
  Revision  Changes    Path
  1.249     +4 -2      src/sys/kern/tty.c



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200504131356.j3DDuHdC053368>