Am Donnerstag 22 November 2001 07:53 schrieben Sie:

> > Hi,
>
> This patch does:
>
> - remove the semaphore from interrupt handler (semaphore are not allowed
>   under ints). And no locking is necessary currently.

Very good spotting.

> - fixes a problem with MOD_INC_USE_COUNT / MOD_DEC_USE_COUNT in
>   open_scanner()

How ? Also you remove scn->mutex from open(). You must not do so as you race 
with disconnect()

> - fixes a race in probe_scanner()

Yes, good spotting

> - adds two missing "up(&scn_mutex)" in probe_scanner().

Well done.

> The patch has been tested.
>
> Please consider and apply.

It is not yet perfect.

        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