Messages in this thread Patch in this message | | | Date | Mon, 13 Oct 2003 21:41:52 +0300 | From | "O.Sezer" <> | Subject | Re: 2.4.23-pre7-pac1 |
| |
drivers/char/rocket.c is missing the tty->count --> atomic_read(&tty->count) change. Patch attached.
Regards; Özkan Sezer --- ./drivers/char/rocket.c.orig 2003-10-13 12:58:33.000000000 +0300 +++ ./drivers/char/rocket.c 2003-10-13 20:10:05.000000000 +0300 @@ -1052,7 +1052,7 @@ restore_flags(flags); return; } - if ((tty->count == 1) && (info->count != 1)) { + if ((atomic_read(&tty->count) == 1) && (info->count != 1)) { /* * Uh, oh. tty->count is 1, which means that the tty * structure will be freed. Info->count should always | |