This was taken from a posting to linux-kernel by Tim Waugh about a week
ago:

-------------
I've updated the list of suspected module load/unload races.

<URL:ftp://people.redhat.com/twaugh/tmp/mod_inc_use>

Tim.
*/
--------------

Lines relevant to usb drivers from the above URL:

drivers/usb/audio.c:usb_audio_open_mixdev -- can block
drivers/usb/audio.c:usb_audio_open -- can block
[? moved] drivers/usb/cpia.c:cpia_open -- can block
drivers/usb/dc2xx.c:camera_open -- wrong
[fixed in 2.3] drivers/usb/evdev.c:evdev_open -- calls kmalloc
drivers/usb/ibmcam.c:ibmcam_open -- can block
drivers/usb/ibmcam.c:usb_ibmcam_probe -- can block
[fixed in 2.3] drivers/usb/joydev.c:joydev_open -- calls kmalloc first
[fixed in 2.3] drivers/usb/mousedev.c:mousedev_open -- calls kmalloc first
drivers/usb/ov511.c:ov511_open -- can block
drivers/usb/pegasus.c:pegasus_open -- not clear but easy to fix
drivers/usb/plusb.c:plusb_net_open -- plusb_alloc calls kmalloc
drivers/usb/plusb.c:plusb_probe -- plusb_alloc calls kmalloc
[fixed in 2.3] drivers/usb/printer.c:usblp_open -- usblp_check_status calls kmalloc 
eventually
drivers/usb/uss720.c:uss720_probe -- calls kmalloc further up
[fixed in 2.3] drivers/usb/serial/usb-serial.c:usb_serial_probe -- calls kmalloc 
further up
[fixed in 2.3] drivers/usb/mdc800.c:mdc800_device_open -- usb_submit_urb can block

so if your driver is one of the above listed as not fixed yet...


greg k-h
greg@(kroah|wirex).com

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to