Re: [patch] 2.4.0, 2.2.18: A critical problem with tty_io.c

From: Alan Cox (alan@lxorguk.ukuu.org.uk)
Date: Fri May 18 2001 - 06:29:40 EST


> - implements tty->ldisc_sem to plug race between do_tty_hangup()
> and tty_set_ldisc(). Is this the ldisc race to which you refer?

Actually I'd missed that one. I was referring to the module race on the ldisc

> +#ifdef CONFIG_MODULES
> + struct module *owner;
> +#endif

I'd rather the field was always there. THIS_MODULE is correctly NULL for non
modules. Doing that makes all the ifdefs vanish and probably makes it a lot
more likely to pass Linus

-
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/



This archive was generated by hypermail 2b29 : Wed May 23 2001 - 21:00:27 EST