On Fri, Oct 08, 2004 at 06:25:11PM -0700, Pete Zaitcev wrote: > Hi, All: > > I found (or, rather, our users found and I confirmed) that if a disconnect > happens at the right time, cat /proc/bus/usb/devices is likely to crash. > It can fail in several places, but mostly it's related to a references > to struct usb_device which was freed. > > It looks that this problem was addressed in 2.6, but I do not wish to > backport everything. The attached patch makes it to go away in my case. > I suspect that it may be still racy, so I'm pondering if I should send > this to Marcelo. Any comments?
It does reduce the race window a lot, but it might be possible to still crash. Odds are, your patch is just fine, I would recommend sending it on to Marcelo, unless you want to do a much larger patch :) thanks, greg k-h ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ [EMAIL PROTECTED] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel
