lkml.org 
[lkml]   [2003]   [Oct]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    Date
    From
    SubjectRe: 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
    \
     
     \ /
      Last update: 2005-03-22 13:49    [W:0.021 / U:4.200 seconds]
    ©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site