Bug 97271

Summary: Fix Multiple ugen panics
Product: Base System Reporter: amistry
Component: usbAssignee: iedowse
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: 6.1-RELEASE   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
ugen-multiple-panics.patch none

Description amistry 2006-05-14 21:20:27 UTC

There are several race conditions is the ugen driver that make it easy to panic the system when a device is detached during an IO operation.  There are also panics when select() and poll() are used on ugen device endpoints.
The attached patch fixes these issues.  The patch also fixes the current PRs:
usb/94311
usb/68232

Some of these issues are relevant to NetBSD and probably OpenBSD  and DragonflyBSD.
Comment 1 iedowse freebsd_committer freebsd_triage 2006-06-05 15:47:37 UTC
State Changed
From-To: open->patched


Fixed in -current, thanks! 


Comment 2 iedowse freebsd_committer freebsd_triage 2006-06-05 15:47:37 UTC
Responsible Changed
From-To: freebsd-usb->iedowse


My MFC reminder.
Comment 3 iedowse freebsd_committer freebsd_triage 2006-09-24 15:56:18 UTC
State Changed
From-To: patched->closed


This has now been merged into RELENG_6 - sorry for the long delay.