Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 6 Dec 2012 10:13:45 +0100
From:      =?ISO-8859-1?Q?Ermal_Lu=E7i?= <eri@freebsd.org>
To:        freebsd-net <freebsd-net@freebsd.org>, freebsd-ipfw@freebsd.org
Subject:   ipfw(4) dynamic states/rules and its callout
Message-ID:  <CAPBZQG3T=Mvp80-mhFJJ5QRcv5+3SLwV__2bVgvP1YO=UFVOUA@mail.gmail.com>

Next in thread | Raw E-Mail | Index | Archive | Help
Hello,

i was looking at ipfw dynamic code for dynamic states/rules and see that it
unconditionally schedules a callout even if there is not work to do.

Wouldn't it be best to reschedule it when there is something to do to avoid
having a useless
callout/event run every time on the system?

Is there any complication i am missing on it!

Regards,
Ermal



Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?CAPBZQG3T=Mvp80-mhFJJ5QRcv5+3SLwV__2bVgvP1YO=UFVOUA>