Messages in this thread | | | Date | Wed, 15 Sep 2004 16:40:28 -0400 | From | Alan Cox <> | Subject | Re: 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.
Thanks
> /* 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 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/
| |