cvs commit: src/sys/dev/sio sio.c
Warner Losh
imp at FreeBSD.org
Thu Jul 22 16:16:12 PDT 2004
imp 2004-07-22 23:16:12 UTC
FreeBSD src repository
Modified files:
sys/dev/sio sio.c
Log:
If you insert a pccard modem and then eject it, you get a panic. This
happens because the sio device was never opened and com->tp is
therefore NULL. ttygone can't swallow a NULL, so guard against that
possibility. Other places in this function make similar checks, so I
believe this is correct.
Revision Changes Path
1.450 +2 -1 src/sys/dev/sio/sio.c
More information about the cvs-all
mailing list