Re: [PATCH] cancel_rearming_delayed_work infinite loop fix

2006-07-11 Thread Herbert Xu
Michael Buesch [EMAIL PROTECTED] wrote: cancel_rearming_delayed_work{queue} is broken, because it is possible to enter an infinite loop if: We call the function on a work that is currently not executing or pending. Why are you calling it on a work that was never scheduled? Sounds like a bug to

[PATCH] cancel_rearming_delayed_work infinite loop fix

2006-07-10 Thread Michael Buesch
cancel_rearming_delayed_work{queue} is broken, because it is possible to enter an infinite loop if: We call the function on a work that is currently not executing or pending. But, as this is a synchronization function and as its only purpose is to synchronize the work, that should not loop