Re: Linux v2.6.9 (Strange tty problem?)

From: Paul Fulghum
Date: Thu Oct 21 2004 - 11:01:49 EST


On Thu, 2004-10-21 at 08:20, Paul Fulghum wrote:
> I was thinking a reasonable solution would be
> to queue work in tty_do_hangup() if ldisc->hangup()
> is not defined (== NULL) to switch the ldisc back to N_TTY.

Nevermind, I now see why this won't work.

tty_set_ldisc() calls flush_scheduled_work() so
it can't be called from a work routine on the
default events queue.

I'll now look at adding the hangup() method to ppp_*.c

--
Paul Fulghum
paulkf@xxxxxxxxxxxxx

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/