usbatm : modprobe & rmmod

matthieu castet castet.matthieu at free.fr
Sat Jan 22 11:16:25 EST 2005


Hi,

Roman Kagan wrote:
> On Fri, 2005-01-21 at 19:49 +0100, matthieu castet wrote: 
> 
>>my kernel freeze after 2 or 3 modprobe & use it & rmmod of usbatm (no 
>>message).
> 
> 
> It looks like there's a bug in usb_atm.c reference counting:
> udsl_destroy_instance kfrees udsl_instance_data, while the latter is
> is a member of {speedtch,cxacru,...}_instance_data and not kmalloced
> separately.  I'll try to come up with a proper fix tomorrow (I'll have
> to check if simply removing kfree in udsl_destroy_instance is enough).
usb_put_dev shouldn't be there : the device module could want do other 
things after...

I will try that tomorrow.

Matthieu



More information about the Usbatm mailing list