multiple interface test case

Roman Kagan rkagan at mail.ru
Wed Apr 13 03:54:43 EDT 2005


On Wed, Apr 13, 2005 at 09:43:02AM +0200, Duncan Sands wrote:
> > The appended patch fixes it for me (written for 2.6.12-rc2, applied to
> > and run on 2.6.11).  I'm not yet fluent with klists so it'll take longer
> > to cook up one for -mm.
> > 
> > Still I wonder for how long it was there, because every
> > usb_driver_release_interface() during rmmod should have revealed that
> > problem.
> 
> I also suspected the lists, however while this may be part of the truth,
> the situation seems more complicated in -mm.  There one reference is not
> dropped - but why?  I now have stack dumps of all kobject_put/get calls
> for the driver, so it should become clear soon I hope...

I must have been unclear: the reference isn't dropped exactly because
the driver_detach() never returns.  This applies to -mm too.  I'll try
to cook up a patch to fix it, let's see if it works for you.

Roman.



More information about the Usbatm mailing list