Re: [PATCH] race condition with drivers/char/vt.c (bug invt_ioctl.c)

From: Steven Rostedt
Date: Mon Aug 22 2005 - 19:20:07 EST


On Tue, 2005-08-23 at 08:08 +0800, Antonino A. Daplas wrote:
> There's a similar report in Kernel Bugzilla
>
> http://bugzilla.kernel.org/show_bug.cgi?id=4812
>
> I was wondering what's the likelihood of tty->driver_data being NULL in
> vt_ioctl but never had the time to do further exploration. Your patch
> should fix that bug too.
>

Yep, that's the bug that is fixed with this patch, so you can close it
out. Well, not until it's added to the mainline (akpm already added it
to -mm). I wouldn't check for tty->driver_data == NULL, since that
would have been hiding the problem, and not solving it.

-- Steve


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