On Fri, 2006-07-04 at 00:30 +1000, Herbert Xu wrote: > If so I see what you mean but I think a better solution is to just > set a flag when the XFRM_REPLAY_TIMEOUT fires and nothing has changed. > Then when you get XFRM_REPLAY_UPDATE you can notify unconditionally if > this flag is set. > > The flag gets cleared in case of a notification. >
That does sound reasonable but i need to think about it a little in case it misses some scenario. Krisztian, see any leaks with that? After a little testing (i missed the scenario where a user subscribes and then leaves and then resubscribes; in such a case, the timer never gets restarted) i have updated the patch to do it the brute force way. What you propose is more optimal, I will let Krisztian comment and then whip a patch. cheers, jamal - 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