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..

Regards
Henrik

Reply via email to