Re: [PATCH] hvc_console fix to protect hvc_write against ldiscwrite after hvc_close

From: Alan Cox
Date: Wed Sep 15 2004 - 20:14:48 EST


On Mer, 2004-09-15 at 19:43, Ryan Arnold wrote:
> So this patch checks tty->driver_data in hvc_write() before it is used.
> Hopefully once Alan Cox's patch is checked in ldisc writes won't
> continue to happen after tty closes.

Actually for the short term I may have made the ldisc calling tty race
worse. I'm still looking into some of that. I've fixed the one the other
way but for now driver defensively 8)

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