+       /* resubmit the urb (iff it's safe) */
+       hubstate = usb_get_intfdata (intf);
+       if (hubstate->urb->status == -EHOSTUNREACH) {
+               status = usb_submit_urb (hubstate->urb, GFP_KERNEL);
+               if (status < 0)


This is deadly. It must be GFP_NOIO or you might deadlock. The
device you might swap to can still be asleep.

OK, that's a simple fix.


- Dave




-------------------------------------------------------
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE. http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to