* Linediscipline behaviour
@ 2001-09-29 12:50 Dag Nygren
0 siblings, 0 replies; only message in thread
From: Dag Nygren @ 2001-09-29 12:50 UTC (permalink / raw)
To: linux-kernel
Hi,
Just checked out why my pppd hangs on exit
when the device is connected through USB
and found out that the reason was that the
code tried to change the linediscipline back
to what it was before ppd and that the ioctl()
hangs if the device doesn't exist any more as
the USB device has disappeared at that point.
Shouldn't the ioctl(TIOCSETD) return a ENODEV
instead of hanging ?
The previous tcflush() does indeed do that and the
problem was then avoidable, but I think I just
fixed the symptoms, not the disease....
BRGDS
--
Dag Nygren email: dag@newtech.fi
Oy Espoon NewTech Ab phone: +358 9 8024910
Träsktorpet 3 fax: +358 9 8024916
02360 ESBO Mobile: +358 400 426312
FINLAND
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2001-09-29 12:49 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-09-29 12:50 Linediscipline behaviour Dag Nygren
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®