[lkml]   [2004]   [Sep]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: PATCH: tty locking for 2.6.9rc2
On Wed, Sep 15, 2004 at 03:23:19PM -0500, Paul Fulghum wrote:
> Here is a patch against your last patch that clears
> up both the per tty refcount initialization and
> the remove_dev() global refcount leak.


> /* Now set up the new line discipline. */
> tty->ldisc = *ld;
> + tty->ldisc.refcount = 0;

What do you think about

tty_ldisc_get(tty, ldisc_num)

That seems to remove the whole mess ?

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

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