[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <alpine.DEB.2.23.453.2102072033520.16338@blackhole.kfki.hu>
Date: Sun, 7 Feb 2021 20:36:16 +0100 (CET)
From: Jozsef Kadlecsik <kadlec@...filter.org>
To: Reindl Harald <h.reindl@...lounge.net>
cc: Pablo Neira Ayuso <pablo@...filter.org>,
netfilter-devel@...r.kernel.org, davem@...emloft.net,
netdev@...r.kernel.org, kuba@...nel.org
Subject: Re: [PATCH net 1/4] netfilter: xt_recent: Fix attempt to update
deleted entry
On Fri, 5 Feb 2021, Reindl Harald wrote:
> what makes me thinking about the ones without --reap - how is it
> handeled in that case, i mean there must be some LRU logic present
> anyways given that --reap is not enabled by default (otherwise that bug
> would not have hitted me so long randomly)
Yes, checking the code I was wrong: when the recent table is full, the
oldest entry is automatically removed to make space for the new one.
Best regards,
Jozsef
-
E-mail : kadlec@...ckhole.kfki.hu, kadlecsik.jozsef@...ner.hu
PGP key : https://wigner.hu/~kadlec/pgp_public_key.txt
Address : Wigner Research Centre for Physics
H-1525 Budapest 114, POB. 49, Hungary
Powered by blists - more mailing lists