> My code is attached to this document.  It is a module for 2.4.x.
>
> Any help would be appreciated.

magtek_delete will corrupt kernel memory management. You must not free
parts of a structure.

magtek_read: copy_to_user with spinlock held - great big NO, NO

magtek_ioctl: the spinlock must be irqsafe

magtek_disconnect: spinlock must be irqsafe
                                usb_unlink_urb with spinlock held
                                you don't remove it from the device table

        HTH
                Oliver
 


-------------------------------------------------------
Sponsored by:
ThinkGeek at http://www.ThinkGeek.com/
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to