On Friday,  1. June 2001 01:29, Petko Manolov wrote:
>       Hi Oliver,
>
> Good spot. Thanks.
> The control transfers are not used very often so this bug remained
> hidden for so long. This patch hopefully fix it plus one more.
>
> Comments?

I think you killed that race, buf only if get_registers need not be reentrant.

Otherwise you still have a race

task A                          task B
get_registers()
sleep_on()
                                get_registers()
                                if (...) ->condition met
                                        IRQ
                                        waitqueue_active ->yes it is
                                        wake up only task A

        Regards
                Oliver

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

Reply via email to