lkml.org 
[lkml]   [2004]   [Sep]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: PATCH: tty locking for 2.6.9rc2
On Wed, Sep 15, 2004 at 01:54:42PM -0500, Paul Fulghum wrote:
> There are 6 places where this needs to be done:
> 3 in tty_set_ldisc
> 2 in release_dev
> 1 in initialize_tty_struct

Argh I thought I'd fixed that after I turned it into one refcount field
from two.

> Switching back to N_TTY ldisc in release_dev() of tty_io.c
> takes a global ldisc reference (tty_ldisc_get) but
> then frees the tty structure. This causes a reference
> leak (global ldisc refcount) on N_TTY because there
> is no corresponding tty_ldisc_put.

Thanks will look

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

\
 
 \ /
  Last update: 2005-03-22 14:06    [W:0.114 / U:0.012 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site