Re: Sleeping in USB network drivers

2006-06-08 Thread Sergey Matveychuk
Scott Ullrich wrote: > On 6/7/06, Sergey Matveychuk <[EMAIL PROTECTED]> wrote: >> It was discussed in [EMAIL PROTECTED] Shortly, USB stack should be rewritten. >> The patch can be found at >> http://www.turbocat.net/~hselasky/usb4bsd/index.html > > Interesting. Do you have an updated patch set f

Re: Sleeping in USB network drivers

2006-06-07 Thread Scott Ullrich
On 6/7/06, Sergey Matveychuk <[EMAIL PROTECTED]> wrote: It was discussed in [EMAIL PROTECTED] Shortly, USB stack should be rewritten. The patch can be found at http://www.turbocat.net/~hselasky/usb4bsd/index.html Interesting. Do you have an updated patch set for RELENG_6_1? If not, I guess I

Re: Sleeping in USB network drivers

2006-06-07 Thread Sergey Matveychuk
Andrew Thompson wrote: > Hi, > > > I am looking into the reported panics with the if_aue driver and have > come across a locking problem with usb adapters that is not obvious how > to fix. > > The problem is that usbd_do_request() may sleep and most drivers are > careful to call it without any l

Sleeping in USB network drivers

2006-06-06 Thread Andrew Thompson
Hi, I am looking into the reported panics with the if_aue driver and have come across a locking problem with usb adapters that is not obvious how to fix. The problem is that usbd_do_request() may sleep and most drivers are careful to call it without any locks held. in_addmulti() will grab in_mul