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%2B3SLwV__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: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAPBZQG3T=Mvp80-mhFJJ5QRcv5%2B3SLwV__2bVgvP1YO=UFVOUA>