-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Monday 12 March 2001 07:56, j mckitrick wrote:
> | The problem is that the card has been reattached, so com->gone is
> | 0. However com->tp is NULL because the driver has not seen an open()
> | since attachment. It would probably be possible to add a few tests
> | for com->tp != NULL in a few places, but sio.c has bigger problems
> | in this area. It seems that a struct tty will be leaked for every
> | insert/removal too. There is also a missing call to the line
> | discipline's l_close function in the forced detach case.
>
> Now this is the kind of thing I would be interested in helping fix.  But if
> you say sio has bigger problems, I might be in over my head.  What would
> happen if I just added those tests for NULL?
>

Maybe it's just me, but why don't you just add into /etc/rc.suspend code to 
ring down the ppp connection? (which is more or less what windoze does to get 
around the pitfalls involved....)

mike
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.3 (FreeBSD)
Comment: For info see http://www.gnupg.org

iEYEARECAAYFAjqu7gAACgkQZ7GovTQbIm7bnwCfddTH2lWmLvKUmo1mxYsefaia
jDsAn34931du7dxHyFyuMahq2xFn6C7E
=9wXy
-----END PGP SIGNATURE-----

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-stable" in the body of the message

Reply via email to