The patch titled Char: isicom: prolong tty reference holding has been added to the -mm tree. Its filename is char-isicom-prolong-tty-reference-holding.patch Before you just go and hit "reply", please: a) Consider who else should be cc'ed b) Prefer to cc a suitable mailing list as well c) Ideally: find the original patch on the mailing list and do a reply-to-all to that, adding suitable additional cc's *** Remember to use Documentation/SubmitChecklist when testing your code *** See http://userweb.kernel.org/~akpm/stuff/added-to-mm.txt to find out what to do about this The current -mm tree may be found at http://userweb.kernel.org/~akpm/mmotm/ ------------------------------------------------------ Subject: Char: isicom: prolong tty reference holding From: Jiri Slaby <jirislaby@xxxxxxxxx> Hold the tty reference a bit longer in isicom_shutdown_port, because we use it later in the function, so that it won't disappear in the meantime. Signed-off-by: Jiri Slaby <jirislaby@xxxxxxxxx> Cc: Alan Cox <alan@xxxxxxxxxxxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- drivers/char/isicom.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff -puN drivers/char/isicom.c~char-isicom-prolong-tty-reference-holding drivers/char/isicom.c --- a/drivers/char/isicom.c~char-isicom-prolong-tty-reference-holding +++ a/drivers/char/isicom.c @@ -897,8 +897,6 @@ static void isicom_shutdown_port(struct tty_port_free_xmit_buf(&port->port); port->port.flags &= ~ASYNC_INITIALIZED; - /* 3rd October 2000 : Vinayak P Risbud */ - tty_port_tty_set(&port->port, NULL); /*Fix done by Anil .S on 30-04-2001 remote login through isi port has dtr toggle problem @@ -925,6 +923,7 @@ static void isicom_shutdown_port(struct if (!card->count) isicom_shutdown_board(card); } + tty_port_tty_set(&port->port, NULL); tty_kref_put(tty); } _ Patches currently in -mm which might be from jirislaby@xxxxxxxxx are origin.patch linux-next.patch icom-converting-space-to-tabs.patch char-isicom-prolong-tty-reference-holding.patch char-isicom-fix-build-warning.patch reiser4.patch shrink_slab-handle-bad-shrinkers.patch -- To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html