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

Alan Cox (alan@lxorguk.ukuu.org.uk)
Fri, 18 May 2001 12:29:40 +0100 (BST)


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