On Thu, 2002-06-13 at 14:07, Henrik Nordstrom wrote:
> On Wednesday 12 June 2002 21:02, Martin Josefsson wrote:
> 
> > It adds a new parameter to ip_ct_refresh called force, if set to
> > non-zero a timer update will be forced.
> 
> Hmm.. this may be a little hard to enforce at all times..
> 
> Why don't you make the filter simply filter out any timer updates that 
> would increase the timer by less than HZ?
> 
>   change = new_interval - current_remaining_time
> 
>   if (change < 0 || change >= HZ)
>      update the timer
> 
> Feels both cleaner and safer to me..

This sounds like a very good idea, it's a good thing I have you guys to
straighten me out :)

Will send new patch later this evening. And I'll even test it before
sending :)

-- 
/Martin

Never argue with an idiot. They drag you down to their level, then beat
you with experience.

Reply via email to