iso and bulk  callback call  tasklet_schedule to either schedule the tasklet for 
dealing with received cell or send pending one.
BUT it must have traffic (may be bad cell received from the line).


this point of code in finish_urb seem to be the source of the problem : 

----
/* urb->complete() can reenter this HCD */
spin_unlock (&ohci->lock);
usb_hcd_giveback_urb (&ohci->hcd, urb, regs);
spin_lock (&ohci->lock); 
----

at this point ohci->lock has been lock with spin_lock_irq_flags so irq are still lock 
when usb_hcd_giveback_urb call the callback.
is this right ?

David Brownell <[EMAIL PROTECTED]> wrote:

> kolja wrote:
> > i'm using kernel 2.6.2-rc2 and testing kernelmode Driver for ECI usb
> > adsl modem
> 
> Looks like that modem driver's urb completion callback is
> making a call it's not allowed to make.
> 
> 
> 
> -------------------------------------------------------
> This SF.Net email is sponsored by: IBM Linux Tutorials
> Free Linux tutorial presented by Daniel Robbins, President and CEO of
> GenToo technologies. Learn everything from fundamentals to system
> administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
> _______________________________________________
> [EMAIL PROTECTED]
> To unsubscribe, use the last form field at:
> https://lists.sourceforge.net/lists/listinfo/linux-usb-devel


-- 
jeanseb
I know it look like I'm insane
Take a closer look I'm not to blame.
If love is blind I guess I'll buy myself a cane
        (slash / axl rose )


-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&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