Roland Dreier <[EMAIL PROTECTED]> wrote: > > I'm probably missing an obvious race but it seems del_timer_sync() > should be fine on a timer that reschedules itself. del_timer_sync() > loops until try_to_del_timer_sync() succeeds, and > try_to_del_timer_sync() will fail unless the timer being killed is not > running (and it does this test with the timer base lock held). > > OK, how am I being stupid?
No you're definitely right. I just missed the fix that was made to del_timer_sync last year. Cheers, -- Visit Openswan at http://www.openswan.org/ Email: Herbert Xu ~{PmV>HI~} <[EMAIL PROTECTED]> Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt - To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html