Re: [patch]usbled disconnect read race

Pete Zaitcev <[email protected]>
Newsgroups gmane.linux.usb.devel
Organization Red Hat, Inc.
Message-ID <[email protected]>
On Fri, 26 Oct 2007 15:22:50 +0200, Oliver Neukum <[email protected]> wrote:

> usbled has a race where show methods for attributes in sysfs can
> follow a NULL pointer during disconnect. The correct ordering fixes
> it.

> --- linux-2.6.24-rc1/drivers/usb/misc/usblcd.c.alt	2007-10-25 15:57:17.000000000 +0200
> +++ linux-2.6.24-rc1/drivers/usb/misc/usblcd.c	2007-10-25 15:57:24.000000000 +0200

Looks like you posted a patch for usblcd instead of for usbled.

-- Pete

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
[email protected]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.