Hi,
On 24. 11. 21, 7:38, Jeremy Kerr wrote:
On the ldisc side: is there any case where we'd get a write wakeup
during (or after) the ->close()?
there should be no invocation of ldisc after close(). If there is, it's
a bug as this is even documented:
* @close: [TTY] ``void ()(struct tty_struct *tty)``
*
* This function is called when the line discipline is being shutdown,
* either because the @tty is being closed or because the @tty is
being
* changed to use a new line discipline. At the point of execution no
* further users will enter the ldisc code for this tty.
*
* Can sleep.
Should be the same also for the "during" case.
regards,
--
js