Re: fbdev sysfs support.

From: viro
Date: Fri Feb 06 2004 - 20:11:50 EST


On Sat, Feb 07, 2004 at 01:01:35AM +0000, James Simmons wrote:
> +static void release_fb_info(struct class_device *class_dev)
> +{
> + struct fb_info *info = to_fb_info(class_dev);
> +
> + /* This doesn't harm */
> + fb_dealloc_cmap(&info->cmap);
> +
> + kfree(info);
> +}

So what has happens when we hit existing kfree() on fb_info while sysfs
node is busy?
-
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/