Hi,

in your open method:

You try to ensure exclusive open, v4l will do this on its own.
You increase the module use count after down(). That's a race.
Better use the owner field to make v4l manage this for you.

in ioctl you don't take the semaphore. Yet ioctl can be reentered thanks to 
the clone() syscall.

        Regards
                Oliver

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

Reply via email to