Files
linux-st/include/linux
Tim Gardner 0079c5aee3 netfilter: xt_recent: add an entry reaper
One of the problems with the way xt_recent is implemented is that
there is no efficient way to remove expired entries. Of course,
one can write a rule '-m recent --remove', but you have to know
beforehand which entry to delete. This commit adds reaper
logic which checks the head of the LRU list when a rule
is invoked that has a '--seconds' value and XT_RECENT_REAP set. If an
entry ceases to accumulate time stamps, then it will eventually bubble
to the top of the LRU list where it is then reaped.

Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
Signed-off-by: Patrick McHardy <kaber@trash.net>
2010-03-17 15:53:12 +01:00
..
2010-03-11 00:02:43 -08:00
2010-03-12 15:53:10 -08:00
2010-03-12 15:52:32 -08:00
2010-03-16 21:23:22 -07:00
2010-03-12 15:52:40 -08:00
2010-03-12 15:52:36 -08:00
2010-03-14 20:08:36 -04:00
2010-03-12 15:52:40 -08:00
2010-03-12 15:53:10 -08:00
2010-03-12 15:53:10 -08:00
2010-03-12 15:52:38 -08:00
2010-03-12 15:52:28 -08:00
2010-03-12 15:53:10 -08:00
2010-03-16 21:23:18 -07:00
2010-03-12 15:53:11 -08:00
2010-03-12 15:52:44 -08:00
2010-03-12 15:53:10 -08:00
2010-03-12 15:52:43 -08:00
2010-03-12 15:52:44 -08:00
2010-03-16 21:23:18 -07:00
2010-03-12 15:52:36 -08:00
2010-03-12 15:52:32 -08:00